kirankulkarni
MIS
I have a javascript function that opens a different page depending upon user selection from a combo box. I want to capture the result of that function in a string.
e.g.
<select name="abc" onchange="JavaScript:ChoiceSelection(options[options.selectedIndex].value);">
<option value="x">x
<option value="y">y
<option value="z">z
</select>
Now, want the selected value (x,y,or z) in a string. In other words, i want the result of function ChoiceSelection.
<% String something = request.getParameter(???) %>
e.g.
<select name="abc" onchange="JavaScript:ChoiceSelection(options[options.selectedIndex].value);">
<option value="x">x
<option value="y">y
<option value="z">z
</select>
Now, want the selected value (x,y,or z) in a string. In other words, i want the result of function ChoiceSelection.
<% String something = request.getParameter(???) %>