JSFiddle - React, Tailwind, and code Playground

by nickadeemus2002

HTML

Click the "Load content" +3 times... The alert will come up more and more... Why?
<div class="ajaxContainer" style="font-size:9px">
</div>
<a href="#" class="load" style="display: block; padding: 5px; background-color:red;color:white">Load content</a>

JavaScript

$(document).ready(function() {
    loadContent();
     $(".load").click(loadContent);
});

    function loadContent() {
        $(".ajaxContainer").load("http://fiddle.jshell.net/ #actions", function() {
            alert("Done");
            //$(".load").click(loadContent);
        });
    }