Pls ask these questions in javascript mailing list .
> ********** HOW TO JOIN THE LIST **********
>
> To sign the list, email to [EMAIL PROTECTED] with the
> following request:
>
> SUBSCRIBE JAVASCRIPT Your Full Name
> or
> JOIN JAVASCRIPT Your Full Name
>
> or visit the url at http://www.mountaindragon.com/javascript
> **********************************************
Any way
I think this solution will not work if the user enters multiple spaces say
" ".There are some
very good javascript functions for trimming the spaces available on the
net
for free .Use a trim function and then check for the length of the
trimmed
value.
Chandra Sekaran.V,
Software Developer,
Wisor Telecom India Pvt Ltd,
Bangalore
[EMAIL PROTECTED]
Ph : 091-80-5525821 x 4217
> > ----- Original Message -----
> > From: Luis Navalpotro <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 20, 2000 12:59 PM
> > Subject: Re: Java Script Valiadation
> >
> >
> > > document['FORM_NAME'].TEXTFIELD_NAME.value == "";
> > >
> > > for example:
> > >
> > > document['data'].userName.value == "";
> > >
> > > You can also use:
> > >
> > > document.data.userName.value == "";
> > >
> > > Regards,
> > >
> > > Luis Navalpotro
> > >
> > >
> > > > Did anyone know how to use Java Script to Check the text field that
> are
> > > > empty and not allowed spacebar?
> > >
> > >
> >
>
===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > > http://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets