support inline datepicker

enable datepicker attached to a div element