JSFiddle - React, Tailwind, and code Playground

by Paulpro

HTML

<div class="people_rt_link2">
    <a href="#" title="2011">2011</a><br><br>
    <a href="#" title="2008">2008</a><br><br>
    </div>

JavaScript

$('div.people_rt_link2 a').click(function(){
    $(this).unbind('click');
    var that = this;;
    $.post('/echo/html/', {html: '<div>Some html returned from Ajax</div>'}, function(data){
        $(that).after(data);
    });
    return false;
});