No matter what I try, I\'m not able to get the beforeShow event to fire on my datepicker. Here\'s my code:
$(\'#calendar\').datepicker({ inline: true, dateF
It's a little bit tricky but use the setTimeout method to launch the function works well for me.
$('#calendar').datepicker({ inline: true, dateFormat: 'mm,dd,yy', beforeShow: function() { setTimeout(function() { alert('before'); }, 10); } });