How to set the cursor to wait?
Submitted by: AdministratorIn 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';
Submitted by: Administrator
document.body.style.cursor = 'wait';
//do something interesting and time consuming
document.body.style.cursor = 'auto';
Submitted by: Administrator
Read Online JavaScript Job Interview Questions And Answers
Top JavaScript Questions
☺ | Are you concerned that older browsers don't support JavaScript and thus exclude a set of Web users? individual users? |
☺ | How to force a page to go to another page using JavaScript? |
☺ | How to Handle Event Handlers? |
☺ | What are a fixed-width table and its advantages in JavaScript? |
☺ | What is a prompt box? |
Top Top World Wide Web Categories
☺ | Cascading Style Sheet CSS Interview Questions. |
☺ | HTML5 Interview Questions. |
☺ | Basic Internet Interview Questions. |
☺ | Domain Name System (DNS) Interview Questions. |
☺ | JavaScript Interview Questions. |