This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?