por ejemplo tengo una opcion que es Trabaja?
sale un radio Si y otro No si dice que Si se habilitan los Radios; Fulltime, Partime, Completo, Estudiante y Desempleado....
todo Ok con los txt, me sale bien pero en el de los Radios como tienen el mismo Nombre...nose que pasa...aqui les dejo mi codigo..
este es el Script de JAva
Código:
<script language="JavaScript">
function habilitainfo(){
document.form1.EMPRESA_ACTUAL.disabled = false;
document.form1.regimen.disabled = false;
}
function deshabilitainfo(){
document.form1.EMPRESA_ACTUAL.disabled = true;
document.form1.EMPRESA_ACTUAL.value = "";
document.form1.regimen.disabled = true;
document.form1.regimen.value = "";
}
</script>
este es del formulario....
Código:
<table width="100%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<tr>
<td colspan="4" class="ttitulo style11"><strong>Información Actual</strong></td>
<tr>
<td width="50%">Trabaja actualmente (*)</td>
<td width="50%">Régimen (*)</td>
</tr>
<tr>
<td><input type="radio" name="trabajo" value="SI" onClick="habilitainfo()">
Si
<input type="radio" name="trabajo" value="NO" onClick="deshabilitainfo()">
No</td>
<td><input type="radio" name="regimen" value="FULLTIME" disabled>
Full Time
<input type="radio" name="regimen" value="PARTTIME" disabled>
Part Time
<input type="radio" name="regimen" value="INDEPENDIENTE" disabled>
Independiente <br>
<input type="radio" name="regimen" value="ESTUDIANTE" disabled>
Estudiante
<input type="radio" name="regimen" value="DESEMPLEADO" disabled>
Desempleado</td>
</tr>
<tr>
<td>Empresa</td>
<td> </td>
</tr>
<tr>
<td><input type="text" name="EMPRESA_ACTUAL" disabled></td>
<td> </td>
</tr>
</table>
como repito solo me funciona en los txt, yo quiero que me funcione tb en esos radios...