php - How restrict the year in jquery datepicker?such that it display no year other than current year in database -
How to set jquery.datepick.js to display only the current year in the database?
If this is a datepicker from the jQuery UI, then you can give it the minimum and maximum dates such as logic :
$ ('#pollpointer'). Ditepiker ({Minnet: New Date (2010, 1, 1), Maximum Date: New Date (2010,12,31)});
Hope this helps you
Comments
Post a Comment