每次绑定前先取消上次的绑定。



$('#sub').unbind('click').click(function () {
    ...
});

 

相关文章:

  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
相关资源
相似解决方案