Replace the text in each text field below with the correct JavaScript object, property, method, function name or comment. Click the test your code! button and see your JavaScript code in action.

 
<html>
<head>

<title>JavaScript pull-down menu example</title>

<select name=1
2 ="3
=4 .options[selectedIndex].value"
>
<option selected>Choose-a-Link:
<option value = "5 ">
6
</select>
</form>

</body>
</html>

 




Ask questions & get answers at the JavaScript forum >>

Back to example index

©2000 Joe Sriver, www.sriver.com