aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes submit button + selecting content of field automatically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "submit button + selecting content of field automatically" Watch "submit button + selecting content of field automatically" New topic
Author

submit button + selecting content of field automatically

Zeina Afif
Greenhorn

Joined: Jul 19, 2001
Posts: 22
I have a search page where users can select their fields and drop them in a 'selected box'.
Before submitting the page, I need to find a way to select the content of the 'selected box' so when the submit button is clicked, the values in the selected box are passed . The form action is calling a jsp page.
Do I need to write a function that selects the content of that box and then add it to the Submit Button as an onClick? Would the form action still work?
Zeina Afif
Greenhorn

Joined: Jul 19, 2001
Posts: 22
Nevermind, found the answer on this site!
http://www.faqts.com/knowledge_base/view.phtml/aid/7269/fid/178
tx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: submit button + selecting content of field automatically