JSFiddle - React, Tailwind, and code Playground

by darkajax

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css">
<p>Date: <input type="text" id="datepicker"></p>

CSS

.ui-datepicker-trigger {
    cursor: pointer;       
}
#ui-datepicker-div { display: none; }

JavaScript

$( "#datepicker" ).datepicker({
    changeMonth: true,
    changeYear: true,
    beforeShow: function() {
        alert($('.ui-datepicker-current-day').text());
    }
})/*.on(;

ui-datepicker-current-day*/