I'm fairly new to JS so any help would be appreciated.
I need to add 2 new text objects to an existing form when the user presses a button ("Add Fields").
First, is using the document.write(text field HTML) the correct way to go about this? And, how can I set the name of each subsequent field. I.E. the existing field is #1. Added fields need to be #2, #3...
On testing, the document.write by itself doesn't add the fields in the current form. I tried to add the form name (document.formname.write), but that doesn't support the object.
Thanks for any pointers here.
DreamerZ
simplesolutions04@sbcglobal.net
[ignore][/ignore]
I need to add 2 new text objects to an existing form when the user presses a button ("Add Fields").
First, is using the document.write(text field HTML) the correct way to go about this? And, how can I set the name of each subsequent field. I.E. the existing field is #1. Added fields need to be #2, #3...
On testing, the document.write by itself doesn't add the fields in the current form. I tried to add the form name (document.formname.write), but that doesn't support the object.
Thanks for any pointers here.
DreamerZ
simplesolutions04@sbcglobal.net
[ignore][/ignore]