清除表單input輸入框內數據
1.
$(':input','#addVoucherType') //'#addVoucherType'表單id .not(':button') .val('') .removeAttr('checked') .removeAttr('selected');
2.
$("#addBillTypeForm")[0].reset();//‘#addBillTypeForm’表單id
轉載於:https://www.cnblogs.com/pzx-java/p/7373471.html