function addEvent(a, b, c, d) {
a.addEventListener ? a.addEventListener(b, c, d) : a.attachEvent("on" + b, c)
}

function removeEvent(a, b, c, d) {
a.removeEventListener ? a.removeEventListener(b, c, d) : a.detachEvent("on" + b, c)
}

相关文章:

  • 2022-01-18
  • 2021-08-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
  • 2022-01-31
相关资源
相似解决方案