How to submit multiple options of a select to the sever? the

admin

Administrator
Staff member
Hello,all,

When submit a form, how can I send the selected options among a selection to the server side?

example:
....

<FROM>
<TABLE>
<TBODY>
<TR>
<TD>&nbsp;<BR><SELECT
style="WIDTH: 218px; HEIGHT: 246px" multiple size=15
name="unassignedUsers">
<OPTION value=http://www.webdeveloper.com/forum/archive/index.php/"lily">lily</OPTION>
<OPTION value="web">web</OPTION>
<OPTION value="developer">developer</OPTION>
</SELECT></TD>
</TR>

<TR>
<TD align=middle colSpan=2><BR><BR><INPUT type=submit onsubmit="submitBack()" value="Back to Home " name="backBtn"></TD>
</TR>
.....

When click on the "Back to Home" button, the "submitBack()" selects all the items of the select object, but, how can I get these items in the server side?

Best Regards.
 
Back
Top