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