-
How to get multiple values from HTML Listbox control with ASP
I am using an HTML Listbox control in my ASP page. I am using it with "Allow
Multiple Selections" option set to true. Now I am not clear about the syntax
of ASP that I should use to retrieve the multiple values selected from that
ListBox. I tried statements like:
<%
Response.write Request.Form.Item ("select1")(1)
Response.write Request.Form.Item ("select1")(2)
%>
But it did not work.
Looking forward to a positive answer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|