hi
i’m trying to capture a selected text from the list menu. however i tried many times but to no avail.
the following jsp codings are my list menu.. notice tat wat i capture are retrive from my database, therefore its not like those normal list menu..
<%
out.println(“<select name=’site_name’ >”);
out.println(“<option>=====Actual Site Name=====</option>”);
for(int i=0;i<actualAL.size();i++)
{
out.println(“<option>”+actualAL.get(i)+”</option>”);
}
out.println(“</select>”);
%>
and below is my ‘hidden’ field and it is also where i would like to capture the selected text..
<input type=”hidden” name=”message” value=””>
the list menu and ‘hidden’ fields are at the same page..
I’v tried many mtd, but wat i capture is always empty fields.. can anyone tel mi wat to do? i need it urgently..
thks