View Single Post
Old 02-18-2013, 06:41 PM   PM User | #2
nani_nisha06
Regular Coder

 
Join Date: Oct 2012
Location: mother land --india
Posts: 159
Thanks: 37
Thanked 2 Times in 2 Posts
nani_nisha06 is an unknown quantity at this point
guys I found this script which work more like I expected.

PHP Code:
    $(document).ready(function(){
    $(
"#txtFromDate").datepicker({
        
numberOfMonths2,
        
onSelect: function(selected) {
          $(
"#txtToDate").datepicker("option","minDate"selected)
        }
    });
    $(
"#txtToDate").datepicker({
       
numberOfMonths2,
        
onSelect: function(selected) {
        $(
"#txtFromDate").datepicker("option","maxDate"selected)
        }
    }); 
}); 
I found it on below link

Code:
http://jquerybyexample.blogspot.com/2012/01/end-date-should-not-be-greater-than.html
But I dont know how to match up this thing to mine.

any help is most appreciated...
nani_nisha06 is offline   Reply With Quote