JSFiddle - React, Tailwind, and code Playground

by TJ VanToll

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/jquery-ui-git.css">
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<input type="text" id="datepicker">

JavaScript

$( "#datepicker" ).datepicker({
    numberOfMonths: 3,
    stepMonths: 1,
    beforeShow: function( input, inst ) {
        setTimeout(function() {
            inst.dpDiv.find( ".ui-datepicker-prev" ).click();
        });
    }
});