I have a site that have synchronous and asynchronous activities going on, when a user clicks a button the first thing the onclick method does is:
$('body').css('cursor','wait');
and before the method returns I call
$('body').css('cursor','auto');
The cursor only flashes the change towards the return of the method. Does anyone have an idea as to why the cursor isn't changed immediately upon the method invocation?