set cursor javascript code example
Example 1: javascript how to set cursor for whole page
document.html.style.cursor = "";
Example 2: style.cursor javascript
<p id="demo" style="cursor:wait;">Mouse over me.</p>
<script>
parag = document.getElementById("demo");
alert(parag.style.cursor);
parag.style.cursor = "crosshair";
parag.style.cursor = "help";
parag.style.cursor = "pointer";
}
</script>