Edit This Code:
<!DOCTYPE html>
<html>
<body>

<p id="myP" 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("myP").style.cursor);
}
</script>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy