Edit in JSFiddle
JavaScript
Result
HTML
$("input").datepicker();
<input />