No problem. It's not ideal but I think this might be closer to what you need:
<a href="http://jquery-ui.googlecode.com/svn/trunk/demos/datepicker/icon-trigger.html">
http://jquery-ui.googlecode.com/svn/trunk/demos/datepicker/icon-trigger.html</a>You will have to set the input to read-only and make it look like a plain text region.
An inline datepicker should never be closeable because it's inline and always present. Even in its disabled state it simply turns semi-opaque rather than hidden.
The markup combination you want actually goes into more interesting discussions. From the specifications (<a href="http://wiki.jqueryui.com/DatePickerCalendar">
http://wiki.jqueryui.com/DatePickerCalendar</a>) we have:
<ul><li>datepicker appears as a popup when attached to a text input field</li><li>datepicker appears inline when attached to a div or span</li></ul>Are the above points too restrictive for the majority of use cases out there? Should we allow the user to specify whether they want a datepicker to popup or display inline from whatever trigger they wish via an option?