JSFiddle - React, Tailwind, and code Playground

by orjan

HTML

<div id="article">
</div>

JavaScript

var homeURL = window.location.hostname;
$.ajax({
    url: '//' + homeURL + '/content/core/search/banner-no-access.html',
    dataType: 'html',
    type: "GET",
    success: function(data) {
        $('#article').append(data);
    },
    error: function() {
        // error code
    }
});