kvnmck18 Posted March 19, 2007 Share Posted March 19, 2007 Sorry for this post but it's annoying me (I know it's basic)...How can you submit a URL of an <option> <select> onchange()?Thank you:) Link to comment Share on other sites More sharing options...
jesh Posted March 19, 2007 Share Posted March 19, 2007 Here's one way: <select onchange="location.href = this.options[this.selectedIndex].value;"><option value="http://www.google.com/">Google</option><option value="http://www.w3schools.com/">W3Schools</option></select> Link to comment Share on other sites More sharing options...
kvnmck18 Posted March 19, 2007 Author Share Posted March 19, 2007 Thank you, buddyIt has been like 2 years since I've used something like this. THANKS AGAIN! 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