JSFiddle - React, Tailwind, and code Playground

by ashfame

HTML

<a href="http://www.google.com" title="http://facebook.com" class="afflink" >Link</a>

<a href="http://www.stackoverflow.com" onMouseOver="window.status='http://www.google.com'; return true">Yo</a>

JavaScript

$(document).ready( function() {
    $('.affLink').mouseover(function(){
        alert("on mouse now");
        window.status=this.title;
        return true;
    }).mouseout(function(){
        alert("out of mouse now");
        window.status='Done';return true;
    });
    
    alert( $("a").attr('href') );
    
    $("a").live('click', function() {
        window.location="http://ashfame.com";
        return false;        
    });
        
});