JSFiddle - React, Tailwind, and code Playground

by an0nymity

HTML

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

JavaScript

$('a[href=#actions]').live( 'mouseover mouseout', function( event ) {
    
    if (event.type === 'mouseover') {
        
        $( document.body ).append('<br /><b>Mouseover</b>');
        
    } else {
        
        $( document.body ).append('<br /><b>Mouseout</b>');
    }
});