JSFiddle - React, Tailwind, and code Playground

by EZSlaver

HTML

<img src="http://lorempixel.com/400/200/" />
<p id="raw" src="http://lorempixel.com/400/200/"></p>

JavaScript

$("p[src]").each(function () {
    var $self = $(this);
    $.ajax($self.attr("src"), {
        complete: function (jqxhr) {
            $self.text(jqxhr.responseText);
            }
    });
});