How to highlight dates with jQuery's datepicker
问题 I'm using Jquery UI datepicker to allow a user to fill a date input by selecting a date out of a displayed a calendar. So far, everything works as expected : http://jsfiddle.net/Aut9b/374/ Then, I wanted to highlight certain dates, to help the user choose, so I looked into the beforeShowDay option which makes that possible. beforeShowDayType: Function( Date date ) Default: null A function that takes a date as a parameter and must return an array with: [0]: true/false indicating whether or not