1<p id="demo" style="cursor:wait;">Mouse over me.</p>
2<script>
3 parag = document.getElementById("demo");
4 alert(parag.style.cursor);
5 parag.style.cursor = "crosshair";
6 parag.style.cursor = "help";
7 parag.style.cursor = "pointer";
8}
9</script>