Unanswered: capture selected option values from list menu
i would like to capture the selected option values from the list menu..
this is the codings..
out.println("<select name='site_name' >");
out.println("<option>=====Actual Site Name=====</option>");
this is where i would like to capture the values.. (its all on the same page)
<input type="hidden" name="message" value="User: <%=session.getAttribute("adUsername")%> Contract Insert: ">
Originally posted by olerag
Do you mean that you want to place the results of a selection list option
into the "hidden" object OR do you want to place a value passed into
this page into the hidden object?
<select> tag). Do you need a code example?
If the later, you can obtain your page argument values via the
servlet's "getParameter()" method.
i would like to place the results of a selection list option
into the "hidden" object.. its all in the same page