Hi Chris
Ok..........
Thank a lot.
regards
yuji
>From: "Chris Scott" <chris@e...>
>Reply-To: "javascript" <javascript@p...>
>To: "javascript" <javascript@p...>
>Subject: [javascript] RE: how to select a field in list box??
>Date: Fri, 28 Jun 2002 09:06:27 +0100
>
>Hi Yuji,
>
> > if I want
> > to multiple select the field I facing a big problem where only one field
> > is selected.
>
>To select individual options, you could use something like...
>
>var mySelect=document.getElementById ("add");
>mySelect.options[0].selected=true;
>mySelect.getElementById ("add").options[1].selected=true;
>
>Regards,
>
>Chris
>
>
>
>
>
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20
_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail.
http://www.hotmail.com