Forum : How to set the cursor to wait.
Brief description  about Online courses   join in Online courses
View Manju  S Reddy 's Profile

How to set the cursor to wait.

How to set the cursor to wait.
Asked by Manju S Reddy | Mar 22, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Manjunath,
In theory, we should cache the current state of the cursor and then put it back to its original state.
document.body.style.cursor = 'wait';
//do something interesting and time consuming
document.body.style.cursor = 'auto';
Mar 22, 2010