It is only allowing numbers in the box if you type “22” you cannot type a space or any characthers.
How do I fix this
<SCRIPT>
$(function() {
$( "#dateExpire" ).datepicker({
constrainInput: true,
changeYear:true,
altField: 'input#dateExpire',
altFormat: 'dd M yy',
minDate: new Date(2011, 8,9</cfoutput>)
});
});
</SCRIPT>
You fix it by applying the format you want to the dateFormat option:
constrainInput: http://jqueryui.com/demos/datepicker/#option-constrainInput
dateFormat: http://jqueryui.com/demos/datepicker/#option-dateFormat