JSFiddle - React, Tailwind, and code Playground
by Travis Harris
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css">
<div id="dialog" title="Dialog Title">
<p>Test Me.</p>
</div>
JavaScript
$( "#dialog" ).dialog({
width : 400,
resizable : false,
buttons: [
{
text: "Yes",
click: function() {
$( this ).dialog( "close" );
}
},
{
text: "No",
click: function() {
$( this ).dialog( "close" );
}
}
]
});