Disable all Sundays in jQuery UI Calendar (datepicker)

$("#datepicker").datepicker({
    beforeShowDay: function(date) {
        var day = date.getDay();
        return [(day != 0), ''];
    }
});

Comments

Popular posts from this blog

Set limit wp_nav_menu

JavaScript calculate percentage when user scroll web page

Calculate percentage of a specific element has been scrolled into visible on the screen