colorfulblogs
$("#addGoodsForm")[0].reset();

注意:要使用JS form对象的 reset()方法,jquery对象不行!

 

也可以在form表单内添加 <input type="reset" value="重置" /> 实现重置效果。

 

分类:

技术点:

相关文章:

  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-24
  • 2022-12-23
猜你喜欢
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
  • 2021-12-06
相关资源
相似解决方案