Event Scrollstop
# jQuery Mobile scrollstop Event
[ jQuery Mobile Events](#)
## Example
Alert a message when the page stops scrolling:
$(document).on("scrollstop",function(){
alert("Scrolling stopped!");
});
[Try it Yourself Β»](#)
* * *
## Definition and Usage
The scrollstop event is triggered when the page stops scrolling.
**Tip:** This event is usually attached to the document.
**Tip:** The (#) event is triggered when the page starts scrolling.
* * *
## Syntax
$("_selector_").on("scrollstop",function(event){...})
| Parameter | Description |
| --- | --- |
| function(event) | Required. Specifies the function to run when the scrollstop event is triggered. The function has an optional event object, which can be any jQuery event property (e.g., event.target, event.type, etc.). For more information, see the (#). |
* * *

## More Examples
(#)
Count how many times the scrollstop event is triggered.
(#)
Use the event.target property to return the DOM element that triggered the scrollstop event.
* * jQuery Mobile Events](#)
YouTip