PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

jQuery UI datepicker

  1. cuid20
    Member

    Is there any way to remove the old years from the jQuery UI datepicker. I actually only need current year and the next year.

    Also, can I change the theme for this? If you look at the demo at http://jqueryui.com/demos/datepicker/ there are a number of different themes available.

    Posted 13 years ago on Thursday May 10, 2012 | Permalink
  2. You would need to add a jQuery snippet to your theme files to set the year range..

    http://stackoverflow.com/questions/269545/jquery-datepicker-years-shown

    As far as themes, no, there's no way to change themes from the admin. You would need to implement a customization on your end to change that.

    Posted 13 years ago on Thursday May 10, 2012 | Permalink
  3. cuid20
    Member

    Thanks very much Kevin. Think I'll put this on the back-burner for now until I have time to learn a bit more about jQuery snippets.

    Posted 13 years ago on Friday May 11, 2012 | Permalink