datepicker for dynamic table cell.[beforShowDay]
Hi All,
Currently working in room reservation form .
On that i need to disable days that are all already booked against that particular room.
In my form , i have a button to create a room . It will create a table row having [checindate], [checkoutdate] columns.
These two columns are datepickers.want to bind beforeshowday function for all dynamic datepickers.
$("#tblReservationBody").delegate(".Indatepicker", "focusin", function () {
$(this).datepicker({
dateFormat: "dd/mm/yy",
inline: true,
showOtherMonths: true,
beforShowDay: disableAllTheseDays,
onChangeMonthYear: fetchFreeDays
});
});
This delegate has used to bind the datepicker to dynamic text box in a table cell. But not able to disable the days in that calendar.
Thanks,
Saravanan.