I want to show the cursor as progress
on every load.
Is it possible to show the cursor as progress
when the browser is busy?
If not, is it possible to show the cursor as progress
if jQuery is posting
without adding code to every jQuery post function?
I'm looking for a clean and global solution.
try:
$().ajaxStart(function(){
$('body').css('cursor', 'wait');
});
$().ajaxStop(function(){
$('body').css('cursor', 'auto');
});
and it will invoked when an ajax process called...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With