JSFiddle - React, Tailwind, and code Playground

by friek2k

HTML

<script src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.js"></script>
<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css">
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css">
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<table border="0" class="display" id="example"></table>

JavaScript

$('<div id="SubmitFormDialog" title="test"><div id="loader" class="loader"></div><\/div>').appendTo('html');


 $SubmitFormDialog = $('#SubmitFormDialog').dialog({
     autoOpen: true,
     modal: true,
     resizable: true,
     height: dialogHeight,
     width: dialogWidth,
     open: function () {
         $SubmitFormDialog.dialog('close');
     },
     close: function () {
         $(this).dialog('destroy');
         $(this).remove();
     }

 });