adding values to text boxes
Posted: Wed Aug 07, 2002 10:57 pm
i want to add some text from one text box in a form into a second text box in a different form (same html page). i want this text to be added at the end of what is already contained in the second text box.
does anybody know the correct syntax for achieving this in javascript code?
i envision that it would be something similar to:
document.form2.textbox.value=(document.form2.textbox.value+document.form1.textbox.value);
but i have the feeling that this is not correct.
any ideas?
BoB.
does anybody know the correct syntax for achieving this in javascript code?
i envision that it would be something similar to:
document.form2.textbox.value=(document.form2.textbox.value+document.form1.textbox.value);
but i have the feeling that this is not correct.
any ideas?
BoB.