JSFiddle - React, Tailwind, and code Playground
by mcgrailm
HTML
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/themes/base/jquery-ui.css">
<div id="dialog-message" title="Title">
Content
</div>
JavaScript
$( "#dialog-message" ).dialog({
modal: true,
buttons: {
Proceed: function() {
$(this).dialog("close");
document.location.href = "http://stackoverflow.com";
},
}
});