I am trying to restrict the dates in the date picker and would like to make available only for 2012 and 2013 in the date-picker. how would i do that? I am not sure the syntax of j-query so i can restrict it. thanks this is what i have so far. here is my j-query
<script type="text/javascript">
$(document).ready(function () {
$('.datepicker').datepicker({ minDate: -20, maxDate: "+1M +10D" });
});
</script>
"y" for years, "m" for months, "w" for weeks, and "d" for days