I have a date picker and i need to set to functions to run on BeforeShowDay.
I can’t work out how to run both functions names unavailable and disabledays
Thanks in advance
Lee
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How about combining them into one?
}
$(‘#txtDate’).datepicker({
beforeShowDay: disabledays
})
http://jsfiddle.net/rLnTQ/104/
Or you can put one within the other:
http://jsfiddle.net/rLnTQ/118/