I am using the calender from the link: http://razum.si/jQuery-calendar/TimeCalendar.html
but i want one extra function setting min and max date range.
i have two input feilds and set the range with one another.
in my JS i have like this
$("#datepicker1").calendar({ fieldSettings :customRange});
$("#datepicker2").calendar({ fieldSettings :customRange});
function customRange(input) {
return {
minDate : (input.id == 'datepicker2' ? (getDate(jq11('#datepicker1').val())) : null),
maxDate :(input.id == 'datepicker1' ? (getDate(jq11('#datepicker2').val())) : null)
}
}
but it is not working. Please help me
Thanks in advance