restablecer la función javascript
document.getElementById("myForm").reset();
Undefined
document.getElementById("myForm").reset();