I've created a page with a form on a row which is duplicated by the user clicking a button if they need to. The duplication works fine, it's just getting the elements from the duplicated form I'm struggling with. I've been told that you can't reference cloned form elements by their names is this true? if so how do you do it??
Here's my cloning code
tid is the destination div for the row and cid is the row which will be cloned.
cobj.getElementsByTagName('form').name = 'n'+counter; //