scroll() method: Define Any Action When Page is Scrolled in Jquery.

The scroll() event in Jquery executes when the page is scrolled. In its parameter, we define an anonymous function to be executed while scrolling. Simple example~ Use this code if you want to define any action when document is scrolling. When any element is scrolled in the document When any element on the document has … Read more scroll() method: Define Any Action When Page is Scrolled in Jquery.