jquery 清空表单

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