jquery 情况form表单的所有内容

#project_file_upload 为表单的id               
 $(':input','#project_file_upload')
 .not(':button, :submit, :reset, :hidden')
 .val('')
 .removeAttr('checked')
 .removeAttr('selected');

 

posted on 2017-05-09 17:21  星河赵  阅读(599)  评论(0编辑  收藏  举报

导航