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