JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script>
    __$ = $.noConflict();
</script>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>

<div>
    <a href="#" id="link">Click me</a>    
</div>

JavaScript

$(function(){
    var link_counter = 0;
    $('#link').on('click', function(e){
        $(this).html('Clicked: ' + (++link_counter));
    });
    $('#link')[0].onclick = function(){
        alert("clicked");
    };
    __$('#link').click(); // This will not work
    // Comment this out, and you'll see, that no click event is triggered
    //$('#link').click();
});