]|V|[agnus
07-18-2005, 05:01 PM
When creating a new Option element you can supply the function four parameters:
1. Text for the new option
2. Value for the new option
3. Boolean, equivalent of whether or not 'selected="selected"' were set for the option
4. ???
Well, not ???, but I am fuzzy. All my sources say that the fourth argument is a boolean determining whether or not this option "is currently selected." I can't understand fully the difference between that and the third argument. Can somebody please help explain?
1. Text for the new option
2. Value for the new option
3. Boolean, equivalent of whether or not 'selected="selected"' were set for the option
4. ???
Well, not ???, but I am fuzzy. All my sources say that the fourth argument is a boolean determining whether or not this option "is currently selected." I can't understand fully the difference between that and the third argument. Can somebody please help explain?