/ Published in: jQuery
http://stackoverflow.com/questions/680241/reset-form-with-jquery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(':input','#myform') .not(':button, :submit, :reset, :hidden') .val('') .removeAttr('checked') .removeAttr('selected');