Just need help wtih my check here.
Here is the checkbox in my ASP:
Response.Write("<br>Indef<input type=""checkbox"" class=""checkboxwhite"" name=""indef"" value=""ON""></td>" & vbCrLf)
...
Hello, I have a small problem with the way document.innerHTML.replace is interpreted..
Put this in the browser window and press enter..
javascript:document.body.innerHTML=document.body.i...
Hello All,
I have this situation.
1. I have one Text box (say first) and add button.
2. If i click add, one text box should be added + one delete button.
3. if i click add again, secon...
hello all! I think this should be a pretty easy one.
I have the following code. When the user clicks on the div containing the word "Menu", the lower div (id = dropper) displays as a bloc...
Is it possible to use an anchor to open a new window using target="_blank" and at the same time to use inline javascript to redirect the page in the first window to the previous page? Somethin...
Hi,
I need a function written whereby the initial value of a textbox will clear when the user clicks in it and then rest to that initial value if the field leaves focus AND they haven't cha...
I am writing a script that need to change the onclick attribute of DIVs. I can't simply use:
var myvar='aa';
my_div.onclick="myfunction(myvar)";
not sure why, but it doesn't work. I a...
This is what I want:
When the user selects a value from a select-box I want the value to be copied to the clipboard. Is this possible using ActiveX or Javascript or something?
I think that...
I have a form on a web page. When my "Submit" button is pressed, a function is called that validates my form. If a particular radio button is selected, I want to exit the function and forget...
I have a php script that creates a number of images in a table. Then i have a link that calls the following function. The function goes through and changes the images to different ones.
fu...
Hi,
How do you add a function to document.body.onload
e.g. it is currently onload="function1();"
it needs to become onload="function1(); function2();"
function2(); could be any fun...
Hi,
iam writing an application in ASP.net. I have a textbox which is made readonly at page load time.In the page i have a drop down list. I want the textbox to be editable when i change the ...
I have the following JS code which adds a new row to an existing HTML table:
function addRows(cid)
{
var tbody = document.getElementById(cid).getElementsByTagName("TBODY")[0];
var row ...
I am trying to use window.href to a page and grab two text box values to string at the end of the href:
For example:
textbox one, I type in: shallow
texbox two I type in: Hal
Button:...
I am running a script on a PDA. I need to process CTL_P key sequences in my script, but treat 'P' key presses normally. PDAs return CTL_P key sequences in two seperate keystroke events.
Cur...
I am currently attempting to use this regular expression in javascript:
var exp = /^(((ht|f)tp(s?))\:\/\/)?(www.|[a-zA-Z].)[a-zA-Z0-9\-\.]+\.(com|edu|gov|mil|net|org|biz|info|name|museum|us...
I want to replace some value by some other value,
like
var main = "some vlaue here";
main = main.replace("abc", "xyz");
In the string main, i want to replace all occurrences of "abc" w...
Is there a way I can get the ip address of the visitor at client side using Javascript and without depending on third-party services. The page is HTML and Javascript only. Please give me the d...
Here's the deal. It may sound a bit complicated, but I hope you'll get this:
I have a div-tag (a) filled with text (my content).
I have a div-tag (b) containing a menu.
I want to change...
Anyone knows how to round up/truncate a float value to 2 decimal points
here is part of my javascript code:
totalAmount=totalAmount+parseFloat(document.FRM.<%="lineAmount"+line+"UI"%>.va...
I'm trying to, upon checking off a checkbox, enable/disable two radio buttons of the same group.
this is the onclick function thats called when a user checks off the checkbox:
function ...
Hello Experts,
I am trying to implement list manager using jquery, so far i have managed to create a short list by allowing users to add or remove items with the animation. I am attaching bot...
I have an ASP.net application which launches a popup window. I would like to close the popup window when the close button is clicked, and then refresh the parent so all the updated detals sh...
Hi,
How do i use the window.location funcation to re-route a page from for example http://www.test.com/index.html to http://www.test.com/make.html when for example a condition is met. (exampl...
I am createing an attendance management system for a school in PHP and have come into some trouble.
On the registers form, i have an array of drop down lists called "mark" and each ones ind...