onwheel event javascript code example
Example 1: jquery addeventlistener wheel
$("#main-div" ).on( 'wheel', function() {
alert("Hello! I am an alert box!!");
});
Example 2: javascript detect scroll wheel
element.onscroll = function() {
// Code here
}