30) How to set the cursor to wait in JavaScript?

The cursor can be set to wait in JavaScript by using the property “cursor”. The following example illustrates the usage:

window.document.body.style.cursor = “wait”;