Easy Tutorial
❮ Jquerymobile Ref Events Jquerymobile Form Inputs ❯

jQuery Mobile scrollstart Event

jQuery Mobile Events

Example

Display a message when the page starts scrolling:


Definition and Usage

The scrollstart event is triggered when the page begins to scroll.

Note: Apple devices freeze DOM manipulations during scrolling and execute them in a queue when scrolling ends. We are currently researching methods to execute DOM manipulations on Apple devices before scrolling starts.

Tip: This event is typically attached to the document.

Tip: The scrollstop event is triggered when scrolling ends.


Syntax

Parameter Description
function(event) Required. Specifies the function to run when the scrollstart event is triggered. <br> <br>The function has an optional event object, which can be any jQuery event property (e.g., event.target, event.type, etc.). For more information, refer to the jQuery Event Reference

More Examples

Scroll Count Statistics

Event Object


jQuery Mobile Events

❮ Jquerymobile Ref Events Jquerymobile Form Inputs ❯