Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/12/2007, 14:21
Avatar de agressor
agressor
 
Fecha de Ingreso: noviembre-2007
Ubicación: Knocking the Death Door..
Mensajes: 368
Antigüedad: 17 años, 2 meses
Puntos: 3
Re: Limpiar Formulario

Sip asi.. espero te sirva..!!

<html>
<head>
<script type="text/javascript">
function formReset()
{
document.getElementById("myForm").reset();
}
</script>
</head>

<body>
<p>Enter some text in the text fields below, and then press the "Reset" button to reset the form.</p>

<form id="myForm">
Name: <input type="text" size="20"><br />
Age: <input type="text" size="20"><br />
<br />
<input type="button" onclick="formReset()" value="Reset">
</form>
</body>

</html>

Salu2..!!