set cursor style javascript code example
Example: 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>