[thelist] One more Javascript question

.jeff jeff at members.evolt.org
Thu Dec 12 19:34:00 CST 2002


ppk,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Peter-Paul Koch
>
> > up til very recently i thought this too.  however,
> > upon checking i found that the select object does not
> > have a defaultValue property.
>
> Actually I meant the defaultValue of the option, not of
> the select.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

neither the select object nor the option object has a defaultValue property.

look down at the bottom to see a list of objects the defaultValue property
applies to:
<http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/defaul
tvalue.asp>

check the data sheet to see what properties the select object supports:
<http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/select.as
p>

check the data sheet to see what properties the option object supports:
<http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/option.as
p>

.jeff

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




More information about the thelist mailing list