This is my code and it is not working correctly. I want to set minDate to the current date. How can I do it?
minDate
$(\"input.DateFrom\").datepicker({
Use this one :
onSelect: function(dateText) { $("input#DateTo").datepicker('option', 'minDate', dateText); }
This may be useful : http://jsfiddle.net/injulkarnilesh/xNeTe/