I want to dynamically giving date format using jquery ui.But it doesn't work. My code is
<table id="sample">
<tr>
<td>
Date
</td>
</tr>
js:
$("#datepicker").datepicker();
$("#sample tr td").after('<td><input type="text" id="datepicker"/></td>');
fiddle: http://jsfiddle.net/gtwswufu/1/