How to set the cursor to wait?

How to set the cursor to wait?

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-

document.body.style.cursor = "wait";

The full code is as-

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









Related Tutorials/Questions & Answers:
How to set the cursor to wait?
ModuleNotFoundError: No module named 'waity'
Advertisements
How to get system current cursor type
MySQL Cursor
How to set cookies?
how to set class path
Changing the Cursor in Java
how to set the values in jsp
Show different types of Cursor
how to set background image
How to set NSZombieEnabled iPhone
UINavigationController how to set title
How to set target to videos??
The cursor in scrollable resultset
how set data in a dialog
how to set image - EJB
how to set the value of textfield constant
cursor location
cursor by java code
how to set folder size in php
how to set time in jsp page
how to set size of button,textfield.
How to set Marathi font to Label??
ModuleNotFoundError: No module named 'cursor'
ModuleNotFoundError: No module named 'cursor'
Using while loop to loop through a cursor
How to set placeholder in uitextfield programmatically?
how to set value of dropdown list
how to set value of dropdown list
Flex Cursor Manager Example
how to set a image in frame? - Swing AWT
HOW TO DISPLAY 2 SET OF CONTROLS
How to add a columns with a button set to a Jtable built with database result set
How to set CLASSPATH in Java?
Moving Cursor within ResultSet
How to set heap memory in cassandra on docker
java code for cursor
How to set pdf background color.
How set the height of Thumb in Vertical scrollbar..?
how to chech result set is null or not - Java Beginners
how to set fetch size for jdbc odbc driver
how to set the class path variable in tomcat ?
Cursor hiding in jQuery
how can i set an object in focus
How to set a variable value using velocity
ModuleNotFoundError: No module named 'selenium-move-cursor'
ModuleNotFoundError: No module named 'django-cursor-pagination'
ModuleNotFoundError: No module named 'django-cursor-pagination-dtkav'
How to set UILabel text size, color etc.. in XCode
how to show set of images continously using JScrollpane in java

Ads