Datepicker Link v1.11

datepicker previous month link behaviour

HTML

<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<link rel="stylesheet" href="https://jsfiddle.net/resources/demos/style.css">
<div id="calendarDiv"></div>

JavaScript

$('#calendarDiv').datepicker({
    numberOfMonths: 3,
    maxDate: 0,
    stepMonths: 1
});