hi, how do i correctly choose a default date using the datepicker. i am using v3.4.3. datepicker/
i can get the date picker working with the default date of today like this $('#date').datepicker(); where date is an input text field with id date. but if i do this $('#date').datepicker("setDate", new Date ( "January 6, 1972" )); the date picker does not work when i click on the input field, and it does not pop-up. what is the correct way of doing this? I tried to use the debugger;, like Michael Geary said, and I was able to create a date object new Date ( "January 6, 1972" ), and i was able to get the input object using $('#div')... but how do i go from here?