Edit in JSFiddle
HTML
<p>Date: <input readonly type="text" id="datepicker"></p>