JSFiddle - React, Tailwind, and code Playground

HTML

<input type="submit" id="example" />
<div id="example_result"></div>

JavaScript

(function($) {
    "use strict";
    
    $(document).ready( function() {
        
        $("#example").click(function() {
            $.ajax({
                url: "http://xGreekz7x.com/ajax.php", 
            }).done(function( content ) {
                $("#example_result").append( "<p>" + content + "</p>" );
            });
        });
        
    });
    
})(jQuery);