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()
To position the datepicker next to the input field you could use following code.
$('#datepicker').datepicker({ beforeShow: function(input, inst) { inst.dpDiv.css({marginLeft: input.offsetWidth + 'px'}); } });