Answers for "javascript on mouse scroll browser window"

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 addeventlistener wheel

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

Code answers related to "javascript on mouse scroll browser window"

Code answers related to "Javascript"

Browse Popular Code Answers by Language