Ver Mensaje Individual
  #4 (permalink)  
Antiguo 31/05/2006, 00:06
Avatar de chalchis
chalchis
 
Fecha de Ingreso: julio-2003
Mensajes: 1.773
Antigüedad: 20 años, 10 meses
Puntos: 21
Sonrisa o tambien esto prueba

<html>
<head>
<title>untitled</title>
<script type="text/javascript" language="javascript">

function popAll(tBox) {
for (var el, i=0; el=tBox.form[i]; ++i)
if (el != tBox && el.type == 'text') el.value = tBox.value;
}

</script>
</head>
<body>
<form>
field 1: <input type="text" name="field1" onkeyup="popAll(this)"><br>
field 2: <input type="text" name="field2" onkeyup="popAll(this)"><br>
field 3: <input type="text" name="field3" onkeyup="popAll(this)"><br>
field 4: <input type="text" name="field4" onkeyup="popAll(this)"><br>
</form>
</body>
</html>
__________________
gerardo