jQuery清空表单方法

$(':input', '#form1')
.not(':button, :submit, :reset, :hidden')
.val('')
.removeAttr('checked')
.removeAttr('selected');

炒鸡厉害的方法,好用请点赞~~

原文地址:https://www.cnblogs.com/thinkingthigh/p/7989189.html