JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<div id='post'></div>
<input type=button>
<input type=button onclick="test()">

<script>
  function test() {
    $.get('https://fiddle.jshell.net/echo/js/?js=hello%20world!', function(data) {
      document.getElementById("post").innerHTML += data;
    });
  }

</script>