JQuery - show progress cursor when browser is busy / loaded (e.g. windows)

I want to show the cursor as progresswith every boot.

Is it possible to show the cursor as progresswhen the browser is busy?

If not, is it possible to show the cursor as progressif jQuery sends jQuery messages without adding code for each function?

I am looking for a clean and global solution.

+5
source share
1 answer

to try:

$().ajaxStart(function(){
   $('body').css('cursor', 'wait');
});

$().ajaxStop(function(){
   $('body').css('cursor', 'auto');
});

and it will be called when ajax process is called ...

+11
source

All Articles