File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes adding element to form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "adding element to form" Watch "adding element to form" New topic

adding element to form

p paul

Joined: Oct 29, 2007
Posts: 8
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 ]
I agree. Here's the link:
subject: adding element to form
It's not a secret anymore!