pls delete the 3D that came after onFocus and try out the code.
Hi,
Try using this.
<input type="text" name="first" onFocus="this.blur();my_form.next.focus();">
where first is the first text field name ,
next is the second text field name ,
my_form is the form name
Happy coding!!!
Bye,
SJ
----- Original Message -----
From: "Synu Jacob Vengal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 08, 2000 2:27 PM
Subject: Javascript: How can I enable or disable a field in javascript
> > Hi,
> > Try using this.
> > <input type="text" name="first"
> onFocus=3D"this.blur();my_form.next.focus();">
>
> > where first is the first text field name ,
> > next is the second text field name ,
> > my_form is the form name
> > Happy coding!!!
> > Bye,
> > SJ
>
>
===========================================================================
> 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