jquery 情况form表单的所有内容

#project_file_upload 为表单的id               
 $(':input','#project_file_upload')
 .not(':button, :submit, :reset, :hidden')
 .val('')
 .removeAttr('checked')
 .removeAttr('selected');
原文地址:https://www.cnblogs.com/zhaoyingjie/p/6831610.html