JSFiddle - React, Tailwind, and code Playground

by ryanbrill

HTML

<a href="#">foo</a>

JavaScript

$('a').live('mousedown', function() {
    $(this).attr('href','http://google.com?q=test');
});