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? |
☺ | What Boolean operators does JavaScript support? |
☺ | Are Java and JavaScript the Same? |
☺ | What looping structures are there in JavaScript? |
☺ | How to have an element invoke a JavaScript on selection, instead of going to a new URL? |
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. |