Stop extension of year dropdown in jquery datepicker -


i using jquery datepicker script in 1 of project, script url is: script url

i have set year range +100 years , -100 years current date. if user selects 2010 year dropdown, script automatically refresh year dropdown selected value. new options are:

2010-100 , 2010+100

i dont need functionality. can stop beahaviour?

thanks

from documentation

the range of years displayed in year drop-down: either relative today's year ("-nn:+nn"), relative selected year ("c-nn:c+nn"), absolute ("nnnn:nnnn")

are setting relative selected year? set relative today's year instead.

(this answer could've been more precise , helpful if showing of code using. hope helps anyway.)


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -