/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Change #myform by your form id $(':input','#myform') .not(':button, :submit, :reset, :hidden') .val('') .removeAttr('checked') .removeAttr('selected');