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