This is great! Thank you!!!
I appreciate your help!!!
Kind regards,
Jambyl
User Profile
Collapse
-
-
Dasty,
Thank you for your help! It works like a champion!!! :))
If you don't mind, I have one more question to ask you.
I don't know how to do the following:
After I populate the TextBoxOne (using our Wizard1 button), I want the value in TextBoxTwo to automatically appear three times the value of TextBoxOne.
For example if the value that we got in TextBoxOne is 3, I want the value in...Leave a comment:
-
Thank you for your reply!
Could you please explain what "parent" means? What should I write in my case? How is it going to know what is the value of the "number_of_butt on_i_clicked" is?
if (parent.number_ of_button_i_cli cked == 1)
{
[populate box 1]
}
.. etc
}
BTW, I'm not using PHP. I am using JavaScript inside of a JSP...Leave a comment:
-
I tried doing something like this, but it is not working:
if (document.PageO neForm.button.n ame == 'Wizard1') {
opener.document .PageOneForm.Te xtBoxOne.value = "1";
close();
return true;
}
ThanksLeave a comment:
-
Which button was clicked - JSP with JavaScript
I have two JSP pages PageOne.jsp and PageTwo.jsp.
On the PageOne.jsp I have TextBoxOne and TextBoxTwo.
Next to each of these textboxes there is a "Wizard1" button and "Wizard2" button.
When the user clicks any of these "Wizard" buttons it will take him to PageTwo.jsp by popping up a new jsp window (PageTwo.jsp).
On this PageTwo.jsp the user will need to fill out a form and then click "Done"... -
-
Ferris,
Thank you for such a quick reply!!! You code works good, but right now after typing a number in my first text box - I have to click somewhere or hit TAB, Only then the second text box is multiplied by three.
Is there a way to have the number in second text box change without me leaving the first box?
Kind regards.Leave a comment:
-
JavaScript autopopulate a text box
I have a JSP page which has two text boxes.
I would like to be able to enter a number into the first textbox, and to have that number automatically appear in the second textbox multiplied by 3.
So if I enter number 1 into the first text box, then I want number 3 appear in the second text box.
Does anyone know how to do that? Do I need to use JavaScript for that?
Thank you!
No activity results to display
Show More
Leave a comment: