Two J Query calender Picker issue

Two J Query calender Picker issue


Hi all,

I am using two  Jquery calender pickers for searching a hotel room availablity.

if i select a date(future date) in first  calender picker. its working fine.

But My requirement is that the second calender picker should hide(disable) all the dates,  upto which we selected in the first calender picker.

Now its hiding all past date only :(

 

 

http://202.88.239.14/ibtot/Hotels/HotelSearch.aspx

check in and check out filels in above link

 

 

pls help me urg

 

AP

 

function pageLoad() {

 

$(

'#' + document.getElementById('<% =txtCheckin.ClientID %>').id).datepicker({ minDate: 2, numberOfMonths: 2 });

$('#' + document.getElementById('<% =txtCheckout.ClientID %>').id).datepicker({ minDate: 2, numberOfMonths: 2 });

}