nuclearfly
Limp Gawd
- Joined
- Aug 24, 2004
- Messages
- 262
Hey guys, new to JSPs and JavaScript.
What I need to do, is gather a selection from a combobox on the JSP when the submit button is clicked, and use it as a parameter to a Java function, which is imported.
Something like this maybe?
Let me know what you guys think. I think there are probably some errors in this, and I'm working on setting up the server to test it now.

What I need to do, is gather a selection from a combobox on the JSP when the submit button is clicked, and use it as a parameter to a Java function, which is imported.
Something like this maybe?
Code:
<input type="submit" name="combobox" value="Continue"
onclick="bean.function( document.form.combobox.value )">
Let me know what you guys think. I think there are probably some errors in this, and I'm working on setting up the server to test it now.
