Answer: set wait cursor using following line
document.body.style.cursor = 'wait';
Wait cursor is used to when some process is taking too much time or while calculating and you want to show wait cursor to user to wait till process is done, after process done, convert the wait cursor to default cusrsor.
document.body.style.cursor = "default";
Asked In: Many Interviews |
Alert Moderator