像下面这样写是会报错:$(…).reset is not a function
$('#staticAddForm').reset();
- 应该改成如下写法
$('#staticAddForm')[0].reset();
- 还有可能是你重复引用了jq,检查一下引用的其他js是否也引用了jq
像下面这样写是会报错:$(…).reset is not a function
$('#staticAddForm').reset();
$('#staticAddForm')[0].reset();