⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Change year range in datepicker



nunenthal
  • profile picture
  • Member

Posted 20 February 2020 - 11:45 AM

Hello,

 

How to change the year range for the datepicker, by default it's 10year back and forward.

 

A simply question, I hope a simply response !

 

 

Thank you for your help.

 

 


nunenthal
  • profile picture
  • Member

Posted 20 February 2020 - 22:01 PM

need to change 
 
yearRange: "-100:10", // Range of years to display in drop-down,
 
in jquery-ui.js
 
 
 
But don't work in firefox, display flicking problem. Don't work in safari, display just +10 -10
 
work only in chrome !