SyntaxFix
Write A Post
Hire A Developer
Questions
Use this one :
onSelect: function(dateText) { $("input#DateTo").datepicker('option', 'minDate', dateText); }
This may be useful : http://jsfiddle.net/injulkarnilesh/xNeTe/