Created
September 10, 2009 02:11
-
-
Save juarezpaf/184244 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#datepicker").datepicker({ | |
minDate: +5, | |
maxDate: '+1M +10D', | |
changeMonth: true, | |
onSelect: function(dateText, inst){ | |
var the_date = new Date(dateText); | |
$("#datepicker2").datepicker('option', 'minDate', the_date); | |
} | |
}); | |
$("#datepicker2").datepicker(); // add options if you want |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment