开始
$(document).on('mousemove', "#id", EVENT);
禁用
$(document).off('mousemove', "#id");
我努力了...
$(document).off('mousemove', "#id", EVENT);
$("#id").unbind('mousemove');
精确函数
$(document).on('click', "#id", function (e) {
$(document).on('mousemove', "#id", EVENT);
});
$(document).on('mouseup', function () {
console.log('test');
$(document).off('mousemove', "#id");
});
我究竟做错了什么?