jquery 表单清空

$(':input','#myform')
 .not(':button, :submit, :reset, :hidden')
 .val('')
 .removeAttr('checked')
 .removeAttr('selected');
原文地址:https://www.cnblogs.com/geniussoft/p/4775637.html