JSFiddle - React, Tailwind, and code Playground
by Terry Young
HTML
<!-- override jQuery 2.0 -->
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<!-- Now you should see the exact same error as described by the OP, but unfortunately in all browsers -->
<input type="text" id="date-test" />
JavaScript
$("#date-test").datepicker({
defaultDate: "+1w",
changeMonth: true,
numberOfMonths: 3,
onClose: function (selectedDate) {
$("#date-test").datepicker("option", "minDate", selectedDate);
}
});