mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
7 lines
358 B
HTML
7 lines
358 B
HTML
<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> |