Does anyone know how I can disable the following radio button?
<input name="valname" type="radio" <%=val1%>value="val1">val1
<input name="valname" type="radio" <%=val2%>value="val2">val2
I have code that loops through other inputs by input name and disables all those fine
<script language='JavaScript'>document.forms.formname.fieldname.disabled=true;</script>
this doesn't seem to work for the radio button.
<input name="valname" type="radio" <%=val1%>value="val1">val1
<input name="valname" type="radio" <%=val2%>value="val2">val2
I have code that loops through other inputs by input name and disables all those fine
<script language='JavaScript'>document.forms.formname.fieldname.disabled=true;</script>
this doesn't seem to work for the radio button.