Skip to content Skip to sidebar Skip to footer

Jquery Ui Datepicker Error On Beforeshowday

I'm trying to implement a event calendar using jquery-ui's datepicker. I've successfully installed the datepicker and it shows up and working. the problem appears when I try to reg

Solution 1:

You have to add this return [true,'']

Like this

$('#datePicker').datepicker({
    beforeShowDay: function(date) {
       console.log('test');
       return [true,''];
    }
});

Ref. http://osdir.com/ml/jquery-ui/2009-02/msg00349.html

Post a Comment for "Jquery Ui Datepicker Error On Beforeshowday"