[Solved] How to use jQuery and not $ as global for jquery
Correct syntax: http://jsfiddle.net/9knyT/ jQuery(‘input’).datepicker({ beforeShowDay: function (date) { var string = jQuery.datepicker.formatDate(‘yy-mm-dd’, date); return [array.indexOf(string) == -1]; } }); solved How to use jQuery and not $ as global for jquery