Ver Mensaje Individual
  #8 (permalink)  
Antiguo 21/02/2010, 13:19
Avatar de jackson666
jackson666
 
Fecha de Ingreso: noviembre-2009
Ubicación: Buenos Aires, Argentina
Mensajes: 1.971
Antigüedad: 14 años, 4 meses
Puntos: 65
Respuesta: GET y variables vacias

Código HTML:
<form onsubmit="return myFunc();">
<input type="text" name="algo" />
<input type="text" name="algo" />
<input type="text" name="algo" />
<input type="text" name="algo" />
<input type="text" name="algo" />
<input type="text" name="algo" />
<input type="text" name="algo" />
</form>

<script type="text/javascript">
function myFunc(){
    var inputs = document.getElementsByTagName('algo');
    for(i in inputs){
        inputs[i].disabled='disabled';
    }
    return;
}
</script> 
__________________
HV Studio
Diseño y desarrollo web