JSFiddle - React, Tailwind, and code Playground

by jasonwilczak

HTML

<script src="https://code.jquery.com/jquery-2.2.0.js"></script>
<div id="test">

</div>

JavaScript

var someText = "abc";
var someHtmlText = '<p>Some stuff</p><p><a href="www.google.com">Google</a></p>';

$('#test').html(someText);