清除表单input输入框内数据
1.
$(':input','#addVoucherType') //'#addVoucherType'表单id .not(':button') .val('') .removeAttr('checked') .removeAttr('selected');
2.
$("#addBillTypeForm")[0].reset();//‘#addBillTypeForm’表单id
pzx-java 2017-08-16 15:11 原文
清除表单input输入框内数据
1.
$(':input','#addVoucherType') //'#addVoucherType'表单id .not(':button') .val('') .removeAttr('checked') .removeAttr('selected');
2.
$("#addBillTypeForm")[0].reset();//‘#addBillTypeForm’表单id