What about this:

$(fromClone).attr("id", newId);
or
$(fromClone).attr("name", newName);

Reply via email to