jquery-ui/demos/functional/templates/ui.datepicker.two.html

7 lines
358 B
HTML
Raw Normal View History

2008-09-20 17:42:04 +00:00
<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)};
}
2008-06-11 10:27:39 +00:00
</script>