JQuery Datepicker - no default date

Viewed 66843

I want to remove the default date in my JQuery Datepicker.

I try the following code:

$(this).datepicker({defaultDate: ''});

But it doesn't seem to work. Today's date is still selected as default.

13 Answers

You can put null value also like this:

  $(this).datepicker({defaultDate: null});
Related