JSFiddle - React, Tailwind, and code Playground

by František Preissler

HTML

<div id="test">Loading...</div>

JavaScript

(function($){
    $.ajax({
        url : 'http://www.google.com',
        // crossDomain : true, // jen s jsonp
        error : function(_, textStatus, errorThrown) {
            alert(textStatus + " - " + errorThrown);
        },
        success : function(a) {
            $('#test').html(a);
        }
    });
})(jQuery);