I want to clear all input and textarea fields in a form. It works like the following when using an input button with the reset class:
reset
$(\".reset
Why you dont use document.getElementById("myId").reset(); ? this is the simple and pretty
document.getElementById("myId").reset();