I want to show the dates of previous and next months on my datePicker. Just like this:
These dates should also be selectable. Is there any option in jQuery default datePicker or can I modify DatePicker to look like this?
This should do it:
<script>
$(function() {
$( "#datepicker" ).datepicker({
showOtherMonths: true,
selectOtherMonths: true
});
});
</script>
check out : http://jsfiddle.net/fLveY/2/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With