I want to create function mousewheel
in jQuery, when I want to check the delta the result is always "undefined". Please help me.
Here is my code:
$(document).ready(function(){
$('#container').bind('mousewheel', function(event,delta){
alert(delta)
});
})