aboutsummaryrefslogtreecommitdiffstats
path: root/demos/functional/templates/ui.datepicker.two.html
blob: 639aa05181cfac1d3d3c0c64644e92ea065facff (plain)
1
2
3
4
5
6
7
<input type="text" size="10" value="" id="startDate"/> to <input type="text" size="10" value="" id="endDate"/>
<script type="text/javascript">
function customRange(input) {
	return {minDate: (input.id == "endDate" ? $("#startDate").datepicker("getDate") : null),
		maxDate: (input.id == "startDate" ? $("#endDate").datepicker("getDate") : null)};
}
</script>