Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/08/2008, 14:26
Avatar de ferbux
ferbux
 
Fecha de Ingreso: mayo-2007
Ubicación: por ahí intentado ayudar
Mensajes: 823
Antigüedad: 17 años, 1 mes
Puntos: 6
Respuesta: bloquear textarea

Hola,

Tal como lo mencionan Ronruby y David el grande debes usar javascript para eso, puedes hacer algo como esto:

Código:
<html>
<head>

<script>
function deshabilita(){ 
    document.formulario.ped.disabled = true; 
     
   } 

function habilitatexto(){
   
    document.formulario.ped.disabled = false;
    document.formulario.ped.focus();

}

</script>
</head>
<body>
<form name=formulario method="POST">
<INPUT 
         type=radio 
         value=1 
         name=con
         CHECKED
         ONCLICK="deshabilita(this);"/>DESHABILITA<br />  
						
         <INPUT   type=radio 
                             value=2 
                              name=con 
                              onclick="habilitatexto(this);"/>HABILITA<br /> 
	
<center><textarea cols="5" rows="5" name="ped"> </textarea></center>
            			

</form>
</body>
</html>

Saludos!!!!
__________________
"Eres grande por que caminas entre gigantes"