I am developing a web form that pulls and updates customer information and it has multiple ajax requests that are somewhat slow due (2-4 seconds). I added a 'waiting' cursor whenever the page is waiting for results. However, a lot of the time the page is waiting for the request, users either leave their cursor on a button or a table (via tabulator) so the cursor stays as the hand/click cursor and the loading wheel is not visible. If the user moves the mouse off the button/table it changes to the loading wheel. I am already using jQuery to do the ajax calls so I am using this piece of code:
$(document.body).css({'cursor' : 'wait'});
Is there a way that I can force the icon to the loading wheel, no matter what state it is in?