Hi I really need little help with my dynamic table \"Timesheet \". I want add datepicker to date text filed dynamically? could anyone hlep me? this code will add new row to tabl
Instead of using id use a class :
id
class
HTML
<td><input name="date1" class="date"></td>
jQuery
$(".date").datepicker();
addTableRow($("table"));
After you've done that.
$("table tr").last().find('input.date-field').datepicker({...}); //{} = datepicker settings.