| | |
Getting Multiple Values From A Select
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I have a Select in a form, which has multiple values. How can I get all the values from the Request Form collection ? I am using the post method. When I am specifying
it only shows the last value.
I have tried using Request.Form("Select1").options[x] as a loop but it gives an error saying
Object doesn't support this property or method 'options'
Thanks
ASP Syntax (Toggle Plain Text)
Response.write Request.Form("Select1")
it only shows the last value.
I have tried using Request.Form("Select1").options[x] as a loop but it gives an error saying
Object doesn't support this property or method 'options'
Thanks
This might help.
http://www.brettb.com/ASPMultiSelectInputBoxes.asp
http://www.brettb.com/ASPMultiSelectInputBoxes.asp
Google is your friend. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/
Bored? Visit http://www.kaelisspace.com/
![]() |
Similar Threads
- getting values from drop down menu (JSP)
- Basic SQL made Hard (MS SQL)
- select statemt LIKE (MySQL)
- Javascript generated drop down menu (JavaScript / DHTML / AJAX)
- 1 cin statement/multiple values to a vector (C++)
- urgent-how to pass multiple values to the parent form (ASP)
- urgent-how to pass multiple values to the parent form (HTML and CSS)
- using asp array to store db information (ASP)
Other Threads in the ASP Forum
- Previous Thread: Relative Link
- Next Thread: Problem with XIRR calculation with ASP and EXCEL
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection calendar changeable connection current database databaseconnection diagnostics dreamweaver excel fso html iis microsoft msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption server single specfic sqlserver sqlserverconnection toolkit web webserver windows7





