JSFiddle - React, Tailwind, and code Playground

by deanparkr

HTML

<div id="Dialog">
    <p>Test</p>
</div>
<a href="#" id="Link">Open</a>

JavaScript

//jQuery Dialogs
$(function () {
    $('#Dialog').dialog({
        modal: true,
        autoOpen: false,
        height: 300,
        width: 400,
        title: 'Test'
    });
});


$(function () {
    $('#Link').click(function () {
        $('#Dialog').dialog('open');
        return false;
    });
});