Joejoe04 Posted January 1, 2007 Share Posted January 1, 2007 Hi,I want to use the <select> tag along with the <optgroup> and <option> tags to link to another page when a particular <option> is selected by the visitor. Is there a way to do this besides using javascript or is that required? Thanks. Link to comment Share on other sites More sharing options...
jesh Posted January 2, 2007 Share Posted January 2, 2007 If you were using a server side technology (e.g. PHP, ASP.NET, etc.) you could submit the value using a form and then process the value on the server and then redirect the user to the particular page. Link to comment Share on other sites More sharing options...
Webworldx Posted January 2, 2007 Share Posted January 2, 2007 Hmm, or, you could have separate forms per option. Not sure how that would come out looking, but: <form><select><option>1</option></select></form><form><select><option>2</option></select></form><form><select><option>3</option></select></form> with each form going somewhere else.. Link to comment Share on other sites More sharing options...
MrAdam Posted January 4, 2007 Share Posted January 4, 2007 i can't see that coming out too well ! i'd use PHP/ASP to redirect the user! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now