jquery addeventlistener wheel

JavaScript
$("#main-div" ).on( 'wheel', function() {
   alert("Hello! I am an alert box!!");
});element.onscroll = function() {
  // Code here
}
Source

Also in JavaScript: