Answers for "jquery on wheel event"

1

jquery on scroll

Syntax
Trigger the scroll event for the selected elements:
$(selector).scroll()

Attach a function to the scroll event:
$(selector).scroll(function)
Posted by: Guest on June-25-2020
0

jquery on wheel event

$("#main-div" ).on( 'wheel', function() {
   alert("Hello! I am an alert box!!");
});
Posted by: Guest on September-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language