JSFiddle - React, Tailwind, and code Playground
by snover
HTML
<script src="http://code.jquery.com/jquery-1.4.3rc1.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/themes/base/jquery-ui.css">
<div id="dialog" title="Basic dialog">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>
JavaScript
$(document).ready(function () {
$("#dialog").dialog({
buttons: {
"OK": function() {
$(this).dialog("close");
}
}
});
});