JSFiddle - React, Tailwind, and code Playground
by rossmartin
HTML
<a href="javascript: alert('foo');" id="clickMe">Click Me</a>
JavaScript
$('#clickMe').click(function(e){
e.preventDefault();
var hrefJS = $(this)[0].href;
eval(hrefJS);
});