Adding Options

By Rick Johnson on Aug 3, 2005

General

Add or change options on a form select menu. Simple script, includes comments.



Add choices 1 and 2
Add choices 3 and 4
Add all choices
Clear all choices

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: addingOptions.js


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Comments

Blog comments powered by Disqus