Forums Register Login

adding element to form

+Pie Number of slices to send: Send
It is easy adding an element to a form. However, what if I want it generic. I do not want to change my code in my jsp and then need to change my code in my javascript.

So I need to set up my jsp and my javascript so that I pass a form and an element to duplicate. All the element's properties get duplicated and added back to the form ( say after the element that was passed).
[ December 17, 2007: Message edited by: Bear Bibeault ]
Ever since I found this suit I've felt strange new needs. And a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 779 times.
Similar Threads
Dynamically Mapping Form Action with javascript
access form field element
How to change the drop down arrow icon
Validator Framework and Javascript
2 Quick simple JavaScript Qu's. Plz Help
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:02:45.