JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/ui/1.11.0/jquery-ui.js"></script>
<body>
Date: <input type="text" id="datepicker">
</body>
JavaScript
$(function() {
$( "#datepicker" ).datepicker({
onSelect: function(dateText, inst) {
alert('called!');
}
});
});