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
☺ | How is JavaScript different from Java? |
☺ | Does JavaScript have the concept level scope? |
☺ | How to set a HTML document's background color? |
☺ | To write messages to the screen without using "document.write()"? |
☺ | Example of using Regular Expressions for syntax checking in JavaScript? |
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. |