[thelist] Deselecting a select element in JS

.jeff jeff at members.evolt.org
Thu Mar 21 13:02:00 CST 2002


olly,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Olly
>
> How do you deselect a select element using JavaScript
> (IYSWIM) ?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

simple, loop over the options in the select setting each option's "selected" property to false.  you need the actual javascript to accomplish this or is this enough info to get you going?

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list