use a handler like onKeyPress for example and then check the length of the
field.
At 15:37 12/09/02 +0000, you wrote:
>hi
>but i want that when the six digits complete form submits automatically. I
>have to calculate that either the digit enter is six digit long or not.
>ejaz
>
><FORM NAME="validationForm"></FORM>
><INPUT TYPE="text" NAME="formField"
>VALUE="textValue" >
>
>if(formField.value=='123456')
>validationForm.submit();
>
>--- ejaz <ejaz@p...> wrote:
> > hi
> > i have an input box. I want when i enter the number
> > '123456' in it... it automatically submits the form.
> > and reload the page...
> > how it can be accomplished
> > thanx
> > Ejaz
> >
> >
> >
> > ---
> >
> > 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! News - Today's headlines
>http://news.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