AutoLoad Dropdowns

One function for all forms and all select lists.




Over 2000+ free Javascript
at JavaScriptBank.com Website
Sampled by JavaScriptBank.com

First

First form

Second

Third

Fourth

Fifth

First

Second form

Second

Third

Fourth

Fifth

One function for all forms and all select lists

Function SelDrop(Sels,fn,sname,snum) where:

Sels is always the word this
fn is the target form name in quotes
sname is the target select list name in quotes
snum is the index of the start pointer in the array sP
-----------------
The values in the aDr array are the value and the Description for the Select dropdown to be filled.

The first selection of the originating select list will always clear the target list.

Note: the Fourth dropdown box is to show one can skip entities in the form.

Although it is not shown, a select list can be the target of more than one other select list.

Another small but powerful function by Ira.