<html>
<body>
<p id="demo" style="cursor:wait;">This is a paragraph. Mouse over me.</p>
<button type="button" onclick="myFunction()">Return type of cursor</button>
<script>
function myFunction() {
alert(document.getElementById("demo").style.cursor);
}
</script>
</body>
</html>