[thelist] NN4/JS Select Box Value Referencing

.jeff jeff at members.evolt.org
Tue Oct 22 13:58:00 CDT 2002


bill,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Bill Haenel
>
> Does NN4 not understand the value property of a select
> box without first referencing the options property?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

a select should not have a value property.  if it does, it's implemented on a per browser basis as a shortcut to retrieving the value of the selected option.  the correct method is to access the value of the selected option through the options array and the selectedIndex of the select -- just like you ended up doing.

.jeff

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




More information about the thelist mailing list