JSFiddle - React, Tailwind, and code Playground

by TJ VanToll

HTML

<link href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>

<div id="dialog"></div>

JavaScript

$( "#dialog" ).dialog({
    buttons: {
        "Close": function() {
            $( this ).dialog( "close" );
        }
    }
});