[jQuery] default date does not seem to work in DatePicker

[jQuery] default date does not seem to work in DatePicker


Hi,
I keep finding issues with this control :(
Here's how I created the range :
$("#fStartDate, #fEndDate").datepicker({
showOn: "button",
buttonImage: "images/calendar.gif",
buttonImageOnly: true,
defaultDate: "null",
beforeShow: customRange,
hideIfNoPrevNext: true,
showStatus: true,
duration: "",
dateFormat: "dd MM yy"
});
Note the defaultDate parameter, yet my input are empty instead of
being default to today's date....
I had to manually set the dates after the datepickers are created :
$("#fStartDate").datepicker("setDate", "null");
$("#fEndDate").datepicker("setDate", "null");