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