ExampleShow a "loading" indicator image when an AJAX request starts:
Try it yourself » |
The ajaxStart() method specifies a function to be run when an AJAX request starts.
$(selector).ajaxStart(function()) |
Parameter | Description |
---|---|
function() | Required. Specifies the function to run when the AJAX request starts |