Hola
yainela
A ver si esto te sirve:
Código PHP:
<html>
<head>
<script type="text/javascript">
function activar(num) {
document.forms[0].txt1.disabled = (num==0) ? false : true;
document.forms[0].txt2.disabled = (num==0) ? true : false;
}
</script>
</head>
<body>
<form>
<input type="radio" name="rad" checked="checked" onclick="activar(0)" />
<input type="radio" name="rad" onclick="activar(1)" />
<input type="text" name="txt1" />
<input type="text" name="txt2" disabled="disabled" />
</form>
</body>
</html>
Saludos,