JQuery DatePicker and beforeShowDay
问题 I am desperately trying to use this feature to enable only specific days in my datepicker, but the beforeShowDay function is never triggered :( even this is not working: $(document).ready(function(){ /*initialisation des composants*/ initComponent(); }); availableDates = new Array(); /* Fonction d'initialisation des composants */ function initComponent(){ /* Date retrait */ $("#dateRetrait").datepicker(); $("#dateRetrait").datepicker({beforeShowDay: function(d) { console.log("bsd"); alert(