Exclude weekends on jQuery datepicker

$('yourSelector').datepicker({
    minDate: 0, // your min date
    maxDate: '+1w', // one week will always be 5 business day - not sure if you are including current day
    beforeShowDay: $.datepicker.noWeekends // disable weekends
});

Comments

Popular posts from this blog

Set limit wp_nav_menu

How to reset my Joomla administrator password?

Which clients support media queries on mobile version?