tags:

views:

107

answers:

2

Is there a calendar control to display only future dates? What would the code look like?

+4  A: 

http://jqueryui.com/demos/datepicker/

matt b
...using the minDate option.
tvanfosson
More specifically http://jqueryui.com/demos/datepicker/#min-max
Michael Haren
+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