derok Posted October 17, 2011 Share Posted October 17, 2011 Hi,im trying to get the selected value of a drop down list in a new windows, like this: <select name="select_groups" id="select_groups" onChange="MM_openBrWindow('new_window.asp?<%= Server.HTMLEncode(MM_keepBoth) & MM_joinChar(MM_keepBoth) & "cat=" & Response.Write(request("select_groups")) %>','','width=480,height=160'); "> but it doesnt work what can i do? thanks Link to comment Share on other sites More sharing options...
Krewe Posted October 23, 2011 Share Posted October 23, 2011 With select tag you can get a drop down list by inserting <option> tags inside of it. Example: <select name="Yes_or_No"><option value="yes">Yes</option><option value="no">No</option></select> With that example code it will give you a drop down list of two choices, yes or no.With the value tags in the option tag it will give you a value to send to a php form if you want to retrieve what info was selected. Was this what you wanted? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.