JSFiddle - React, Tailwind, and code Playground

HTML

<div id="div10">
    <h2>Text to be changed</h2>
</div>
<button>Get External Content</button>

JavaScript

$(document).ready(function () {
    $("button").click(function () {
        $("#div10").load("https://dl.dropboxusercontent.com/u/29635158/replace.txt", function () {
            alert("Done Loading");
        });
    });
});