Tema: Dos Form
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/02/2006, 13:40
Avatar de caricatos
caricatos
Moderador
 
Fecha de Ingreso: abril-2002
Ubicación: Torremolinos (Málaga)
Mensajes: 19.607
Antigüedad: 22 años, 1 mes
Puntos: 1284
Hola elisa44:

Tal como existe la función submit() para hacer submit mediante un script, puedes usar la función reset()...

Te paso un ejemplo:

Código:
<html>
<head>
<title>
ejemplo
</title>
</head>
<body >
<form name="xxx" >
<input type="text" name="a" value="" />
<input type="text" name="b" value="" />
</form>

<form name="yyy" >
<input type="text" name="a" value="" />
<input type="text" name="b" value="" />
<input type="reset" value="resetear" onclick="document.forms.xxx.reset()" />
</form>
</body>
</html>
Saludos
__________________
Por favor:
No hagan preguntas de temas de foros en mensajes privados... no las respondo