Showing the next month

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-05-25T15:53:00Z Indexed on 2010/05/26 10:11 UTC
Read the original article Hit count: 253

Filed under:
|
|
|
|

I wonder how to set next month with showing only mondays active:

i tried to do smth like that but it wont work

function onlyMondaysNextMonth(date){
    var day = date.getDay();  
    var mDate = date.getMonth() + 1;

    return {
        minDate: mDate, 
    }     
    return [(day == 1),''];                                                        
}

Thank you.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery