JSFiddle - React, Tailwind, and code Playground

by vijayweb

HTML

<div><a href="#">test</a>
</div>

JavaScript

$('*').mouseenter(function(){
    var currentCursor = $(this).css('cursor') ;

    //do what you want here, i.e.
    console.log( currentCursor );
    
    alert(currentCursor);
});