J
joana
I wuold like to Know what I have to do, for a radio buton enable another grup
of them. If select the buton number 5 the next will be enable.
I have this code but only works if the radio buton (that stay disable or
enable) have diferent names and I need to have it with the same.
<body onload="document.myform.radio.disabled=true">
<form name="myform" action="#">
<input type=radio name="rad" onclick="this.form.radio.disabled=true;
this.form.radio.value='';">
<input type=radio name="rad" onclick="this.form.radio.disabled=true;
this.form.radio.value='';">
<input type=radio name="rad" onclick="this.form.radio.disabled=true;
this.form.radio.value='';">
<input type=radio name="rad" onclick="this.form.radio.disabled=true;
this.form.radio.value='';">
<input type=radio name="rad" onclick="this.form.radio.disabled=false;
this.form.radio.focus()">
<input type= "radio" name="radio" value="2">
<input type= "radio" name="radio" value="1">
<br>
</form>
</body>
Can someone help me?
of them. If select the buton number 5 the next will be enable.
I have this code but only works if the radio buton (that stay disable or
enable) have diferent names and I need to have it with the same.
<body onload="document.myform.radio.disabled=true">
<form name="myform" action="#">
<input type=radio name="rad" onclick="this.form.radio.disabled=true;
this.form.radio.value='';">
<input type=radio name="rad" onclick="this.form.radio.disabled=true;
this.form.radio.value='';">
<input type=radio name="rad" onclick="this.form.radio.disabled=true;
this.form.radio.value='';">
<input type=radio name="rad" onclick="this.form.radio.disabled=true;
this.form.radio.value='';">
<input type=radio name="rad" onclick="this.form.radio.disabled=false;
this.form.radio.focus()">
<input type= "radio" name="radio" value="2">
<input type= "radio" name="radio" value="1">
<br>
</form>
</body>
Can someone help me?