If I want to display the JQUERY UI datepicker inline by attaching it to a DIV like $(\"div#someID\").datepicker() - how do I access the chosen date? I assume if
$(\"div#someID\").datepicker()
You could do it as follows - with validation just to ensure that the datepicker is bound to the element.
var dt; if ($("div#someID").is('.hasDatepicker')) { dt = $("div#someID").datepicker('getDate'); }