I use this jQuery code to set the mouse pointer to its busy state (hourglass) during an Ajax call...
$(\'body\').css(\'cursor\', \'wait\');
HERE is my solution:
function yourFunc(){ $('body').removeClass('wait'); // this is my wait class on body you can $('body').css('cursor','auto'); $('body').blur(); $('body').focus(function(e){ $('body') .mouseXPos(e.pageX + 1) .mouseYPos(e.pageX - 1); }); }