Hide Next/Prev in Datepicker
by neysor
HTML
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/base/jquery.ui.all.css">
<input class="mydatepic">
<a href="bla" data-handler="prev">data</a>
CSS
.ui-datepicker-prev{
display:none;
}
.ui-datepicker-next{
display:none;
}
JavaScript
$(function() {
$(".mydatepic").datepicker({
changeMonth: true,
changeYear: true
})
});