<html> <head> <script type="text/javascript"> function go(form) { location=form.selectmenu.value } </script> </head> <body> <form> <select name="selectmenu" onchange="go(this.form)"> <option>--Select page--</option> <option value="http://www.microsoft.com">Microsoft</option> <option value="http://www.javascripting.tk">Java Scripting</option> <option value="http://www.azhar-world.tk">Azhar-world</option> </select> </form> </body> </html>
Edit the text above, and click on the button to see the result.
Copyright © 2007-2008, Www.JavaBasics.We.Bs All rights reserved.