I am using jqueryUI's datepicker widget. It works well when restricting dates within minDate/maxDate range when picking date using mouse from the calendar. But I can still type in any date in the textbox. Is there any way to restrict the typed in date also according to the minDate/maxDate range?
What is the best way to enable/disable a textbox based on the option selected in a select box. I don't want to do it based on onchange event of the select box. It should be something that should be in effect right from the beginning when the page loads.