例如<input type="checkbox" onchange="alert(this.value)" value="haha">,在IE下必须点击一下页面空白的地方才可以激活onchange事件,替换的两种方法
1、<input type=checkbox onclick="alert(this.value)" value=huerreson>
2、<input type=checkbox onpropertychange="alert(this.value)" value=huerreson>

相关文章:

  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2021-12-17
猜你喜欢
  • 2022-01-13
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
相关资源
相似解决方案