Skip to content Skip to sidebar Skip to footer

Jquery Datepicker Year Dropdown Starts From 1900 And I Want It To Start From The Bottom

I am using jQuery datepicker on my website and I have it set like this: $( '#datepicker' ).datepicker( { dateFormat: 'mm/dd/yy', changeMonth: true,

Solution 1:

You can try this option:

$( ".selector" ).datepicker({
    currentText: "Now"
});

I think that modifying currenText value you can achieve what you want.

API docs

Post a Comment for "Jquery Datepicker Year Dropdown Starts From 1900 And I Want It To Start From The Bottom"