JQuery mouse event issue -


i use jquery 1.9.1, , want bind mousewheel event, cant judge mouse or mouse down.

event search information google, shows

$(document).bind('mousewheel', function(event, delta){     console.log(event);     console.log(delta);     return false; }); 

but not work in chrome browser, me solve problem. thanks.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -