JSFiddle - React, Tailwind, and code Playground
by Karan1412
HTML
<div id="dialog" title="jQuery Dialog"><span>Delete all Items !!</span></div>
JavaScript
$(function () {
$("#dialog").dialog({
resizable: false,
height: 160,
modal: true,
buttons: {
"Delete items": function () {
$(this).dialog("close");
},
Cancel: function () {
$(this).dialog("close");
}
}
});
});