How do I get selected date set by jQuery UI Datepicker
- by Steven
I'm setting the start date of an event using jQuery UI Datepicker.
Now I need to retrieve the date I selected.
I'm trying to use $('#startDate').datepicker('getDate'), but this returns NULL.
Using FirBug, I see that the input value is nothing
<input type="text" name="startDate" value="" id="startDate" class="hasDatepicker">
I'm able to…