JavaScript calender to accept future date only
Is there a calendar c开发者_如何学编程ontrol to display only future dates? What would the code look like?
The jQuery UI DatePicker can be configured to only allow future dates:
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({minDate: 0});
});
</script>
http://jqueryui.com/demos/datepicker/
精彩评论