jquery1.x 版本
控制台輸入 $.cache[$('#clickMe').get(0)[$.expando]].events
輸出元素上綁定的事件
jquery1 , jquery2 版本 ( $._data會在jquery2之后的新版本中廢除 )
控制台輸入 $._data($('#clickMe').get(0)).events
jquery1.x 版本
控制台輸入 $.cache[$('#clickMe').get(0)[$.expando]].events
輸出元素上綁定的事件
jquery1 , jquery2 版本 ( $._data會在jquery2之后的新版本中廢除 )
控制台輸入 $._data($('#clickMe').get(0)).events
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。