lidds Posted April 25, 2005 Posted April 25, 2005 I have the following drop down: <p class=MsoNormal> <SELECT name="age"> <OPTION VALUE="value" SELECTED>Select... <OPTION VALUE="value">17-20 <OPTION VALUE="value">21-25 <OPTION VALUE="value">26-30 <OPTION VALUE="value">31-35 <OPTION VALUE="value">36-40 <OPTION VALUE="value">41-45 <OPTION VALUE="value">46-50 <OPTION VALUE="value">51-55 <OPTION VALUE="value">56-60 <OPTION VALUE="value">60+ </SELECT> I am new to asp and was wondering how I can get the value of what has been selected. Cheers Simon Quote
wessamzeidan Posted April 25, 2005 Posted April 25, 2005 get the selected where?? client side or server side? If server side, you'd better use the DropDownList server control. Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
mark007 Posted April 25, 2005 Posted April 25, 2005 Or you could just use: SelectedItem=Page.Request.Form.Item("Age") Quote Please check the Knowledge Base before you post. "Computers are useless. They can only give you answers." - Pablo Picasso The Code Net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.