我正在使用以下插件:https ://github.com/richardscarrott/jquery-mousestop-event
我有一个使用 JavaScript 动态注入 DOM 的元素,我想将“mousemove”事件附加到该元素:
$(document).on('mousestop', '.zoomImg', function(e) {
// code goes here
});
这不起作用,有什么建议吗?
问候,克里斯
我正在使用以下插件:https ://github.com/richardscarrott/jquery-mousestop-event
我有一个使用 JavaScript 动态注入 DOM 的元素,我想将“mousemove”事件附加到该元素:
$(document).on('mousestop', '.zoomImg', function(e) {
// code goes here
});
这不起作用,有什么建议吗?
问候,克里斯