$(':input','#myform') .not(':button, :submit, :reset, :hidden') .val('') .removeAttr('checked') .removeAttr('selected'); 转载于:https://www.cnblogs.com/bingrong/p/4303768.html