Latest Tutorials| Questions and Answers|Ask Questions?|Site Map

Home Answers Viewqa JavaScriptQuestions How to set the cursor to wait?

View Questions and Answers by Category


Have Programming Question? Ask it here!

How to set the cursor to wait?
1 Answer(s)      4 years and 2 months ago
Posted in : JavaScript Questions

How to set the cursor to wait?

View Answers

November 10, 2010 at 11:23 AM

We can set the cursor to wait by using following code- = "wait";

The full code is as-

<script language="Javascript">
function ChangeCursor() { = 'wait';
function RestoreCursor() { = 'default';
<input type="button" onclick="ChangeCursor()"
value="Change Cursor to wait" />
<input type="button" onclick="RestoreCursor()"
value="Default" />

Related Tutorials/Questions & Answers: