Ver Mensaje Individual
  #7 (permalink)  
Antiguo 05/06/2005, 08:47
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Rehola.

Te dejo un ejemplo que funciona bien:
Código PHP:
<html>
<
head>
<
script>
function 
Pago()  {
  
document.getElementById("imp").disabled=false;
}

function 
Gratuito()  {
  
document.getElementById("imp").disabled=true;

</script>
</head>
<body>
<input type="radio" name="rad" onmousedown="Pago()" /> 
<input type="radio" name="rad" onmousedown="Gratuito()" />
<input type="text" id="imp" /> 
</body>
</html> 
Saludos,