I am using jQuery Datepicker to pick up date in my web page. I want similar functionality as shown pic below.
<title>Sample Datepicker</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script type="text/javascript" src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
<script type="text/javascript">
$(function () {
$("#datepicker").datepicker({
showButtonPanel: true,
changeMonth: false,
changeYear: false,
showAnim: "blind"
});
});
</script>
<style type="text/css">
body {
font-family: Verdana, Arial, sans-serif;
font-size: 12px;
}
.ui-datepicker-week-end a {
color: red !important;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
float: left;
margin-left: 35%;
}
#ui-datepicker-div button.ui-datepicker-close {
display: none;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="text" id="datepicker">
</div>
</form>
</body>
I want similar functionality as shown picture above using jQuery Datepicker. As shown in image, by clicking on month picker it opens new popup and you can choose year option form that. How it is possible?