当前位置: 代码迷 >> Web前端 >> jquery 1.8 判断事件是不是已经绑定
  详细解决方案

jquery 1.8 判断事件是不是已经绑定

热度:421   发布时间:2013-11-18 00:11:49.0
jquery 1.8 判断事件是否已经绑定

On previous versions, you could call it like for other data :

obj.data('events');

In jQuery 1.8,?this direct access was removed, so in recent versions you must call it like this :

$._data(obj[0],"events")
  相关解决方案