<input />

 

 

如下:

$("#ID").removeAttr("onfocus");

 

注意:

$("#ID").unbind("onfocus")或$("#ID").unbind("focus")不行。

相关文章:

  • 2022-12-23
  • 2021-11-17
  • 2021-08-10
  • 2021-12-25
  • 2021-08-24
猜你喜欢
  • 2021-12-31
  • 2021-09-06
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
相关资源
相似解决方案