Hi I have a Select element in my page,
It looks like this
<select name="test">
<option value="1">Hi</option>
<option value="2">Hello</option>
<option value="3">GoodBye</option>
</select>
Ok, don't mind the syntax or if I missed something, everything works fine, the problem is that I want to get the selected option value from a servler.
If I do request.getParameter("test");
I think I'm getting the HI instead of the value "1"... How can I get the selected option value?
Thanks in advance.