Hi,
I have a JS function (Ajax) that does some processing. I’d like to set the window cursor to hourglass on the start of that functions and back to auto when the function ends.
Is there a way to pragmatically set the page cursor ? Thanks.
document.getElementsByTagName('body')[0].style.cursor = 'wait'; // your code document.getElementsByTagName('body')[0].style.cursor = 'default';
Help @vpekulas spread the word by sharing this article on Twitter...