You could always set the ID of the cloned row: $rowToInsert = $parentRow.clone(true); newId = $parentRow.attr('id') + '_cloned'; $rowtoInsert.attr('id', newId);
On Oct 16, 5:51 pm, Felix <[EMAIL PROTECTED]> wrote: > I have a form that allows user to add and delete rows as they desire, > I tried to use the clone function but the problem is the clone give > the same id as the previous row and causes trouble duirng form > submission. > Also, one of the column have input that is a JQuery datepicker, I am > wondering if the action is going to be preserved? > > Thanks, > > Felix