Hi subhash,

     Thanks for your reply. I used the blurr() function in form load it is
not working in netscape. It will be helpful if you rewrite the code using
that blurr() function and send me.

Is it possible using this function, when  i click 'yes' radiobutton i can
able to enter values in textfield ,after that if i click 'No' radiobutton
the values in text should disappear.

The code is:

<html>
<body>
<form name="form" onLoad=f1.blurr()>
<input type="radio" name="enable"  value="Yes"

onClick="document.form.f1.disabled=false;">Yes

<input type="radio" name="enable" Value="No" checked

onClick="document.form.f1.disabled=true;">No

<input type="text" name="f1" >
   <br>
</form>
</body>
</html>



Bye.
saravanan.

>From: Subhash_namu <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Problem - Disable of textfields in netscape4.7
>Date: Fri, 24 Nov 2000 10:58:57 +0530
>
>Hi saravanan,
>
>  The "disabled" in the tag works only with IE. The option which is
>standardized for all is using javascript and in th onLoad() of the form do
>textfield(the control name).blurr(). By doing this it will get disabled.
>
>subhash
>
>----- Original Message -----
>From: s saravanan <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, November 23, 2000 8:47 PM
>Subject: Problem - Disable of textfields in netscape4.7
>
>
> > Hi everybody,
> >
> >      I have a small problem regarding disabling of textfields in form
> > validation.I used the below code and i run in IE, it is working fine.
>When
>i
> > press the 'No'radiobutton the textfield is disabled.When i press the
> > 'Yes'radiobutton the textfield is enabled. By default i kept the No
> > radiobutton as checked and textfield as disabled.
> >
> >    While i run the same code in Netscape4.7, it cannot disable the
> > textfield whether i press No or Yes radio button.
> >
> > My program is:
> >
> > <html>
> > <body>
> > <form name="form">
> > <input type="radio" name="enable"  value="Yes"
> >
> > onClick="document.form.f1.disabled=false;">Yes
> >
> > <input type="radio" name="enable" Value="No" checked
> >
> > onClick="document.form.f1.disabled=true;">No
> >
> > <input type="text" name="f1"   disabled=true>
> >   <br>
> > </form>
> > </body>
> > </html>
> >
> >
> > Please help me on this !!
> >
> >
> > Thanks,
> > saravanan.s
> > Alpha Systems.
> >
> >
>____________________________________________________________________________
>_________
> > Get more from the Web.  FREE MSN Explorer download :
>http://explorer.msn.com
> >
> >
>___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to