Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Dropdown validation - thats works in Netscape


Message #1 by "Jeff McFarland" <jeff@s...> on Tue, 16 Apr 2002 15:07:14
Jeff,

Here ya go:

document.form.controlname.selectedIndex;

Mark.
--- Jeff McFarland <jeff@s...> wrote:
> Mark,
> 
> Sorry... What I was trying to get across, is that if
> someone fills out my 
> form that has a dropdown box in that form... I need
> a piece of javascript 
> that will check to make sure that the user did
> select something from the 
> dropdown on that form.  I am having problems getting
> my formutils to work 
> in Netscape.  
> 
> Thx much,
> 
> Jeff
> 
> > Jeff,
> 
> What do you mean by "used in a form"?  
> 
> Mark.
> --- Jeff McFarland <jeff@s...> wrote:
> > Hi Everyone,
> > 
> > Looking for some help.  I can not seem to get my
> > formutils to totally work 
> > in Netscape.  It works in IE...of course.  Does
> > anyone have a piece of 
> > code that will check to see if a drop down box
> > selection has been used in 
> > a form?  And does it work in Netscape?
> > 
> > Thanks,
> > 
> > J
> > 
> > ---
> > 
> > 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
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> ---
> 
> 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


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

  Return to Index