JSFiddle - React, Tailwind, and code Playground

by zebra

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css">
<button>Addd</button>
<div id="dd"><input /></div>

JavaScript

$(document).ready(function() {
    $('button').button().click(function() {
       alert('pressed'); 
    });
    
    $('#dd').dialog({
        modal: true                
    });        
});