javascript - Keith Wood Datepick inMonth Variable -
i'm using keith wood's datepick, , trying block out specific ranges of dates using ondate
function found here.
what value , purpose of inmonth
parameter? rails website gives error uncaught typeerror: cannot read property 'dateclass' of undefined
when include if (inmonth)
statement seen in "national days" example in above link keith wood's site.
any insight appreciated. thanks.
the error due else, inmonth
variable ensure function used in ondate
parameter doesn't apply dates other months displayed in current month. example, prevents ondate
style applying march 30 when you're in month of april.
Comments
Post a Comment