Is there a calendar control to display only future dates? What would the code look like?
...using the minDate option.
tvanfosson
2009-11-19 02:36:06
More specifically http://jqueryui.com/demos/datepicker/#min-max
Michael Haren
2009-11-19 02:36:17
+4
A:
The jQuery UI DatePicker can be configured to only allow future dates:
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({minDate: 0});
});
</script>
Chris Pebble
2009-11-19 02:36:58