How to set the cursor to wait in JavaScript?

Forums JavaScriptHow to set the cursor to wait in JavaScript?
Staff asked 3 years ago

Answers (1)

Add Answer
Nayan Raval Marked As Accepted
Staff answered 3 years ago

In JavaScript, the property “cursor” can be used to make the cursor wait. The following is an example of how to use it:

<script>  
window.document.body.style.cursor = "wait";   
</script>

 

Subscribe

Select Categories