Previous Example-|-Next Chapter's Examples-|-Return to Chapter Listing
Example 17.12:
Adding Items to a Select Box
[This example works with Netscape Navigator 3. It will not work in Netscape Navigator 2 or Internet Explorer 3.]
You can add an item to the Select box by typing some text, specifying the index position at which you want to insert the text, then clicking the button:
These are the scripts we used. First, in the HEAD:
Later in the Web page the function is called from this form:
Previous Example-|-Next Chapter's Examples-|-Return to Chapter Listing