Forums
This topic is locked
Select Box - "Selected"
Posted 21 Jul 2003 20:52:58
1
has voted
21 Jul 2003 20:52:58 Phil Grimpo posted:
I have a script that populates a Multi-Select box based on a value from a previous select box. My question is, how can I in the JavaScript write that certain values should be selected by default. The script returns this:menuitem[j]=new Option("Sr. Adult", "1000" j++;
So you can see that it is setting an item label and a value, but can this line also return the "Selected" ??
Thanks for any help.
-Grimps
Phil Grimpo
Executive Director
Inspirmedia