tbaseflug
asked on
Select - Move selection to first non-disabled option
I have a select - where some of the first few options may be disabled - is there a way - on load of teh select, etc. - to move the default selected option to the first non-disabled option?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1 typo, 1 miss
sel.options[i].selected=true;
A coding error michel? ;^)
ASKER
Perfect! Thanks!!!!
Yep - I do have those, C&d
ASKER
Webpage error details
Message: 'option' is null or not an object
Line: 315
Char: 21
Code: 0