Home › Forums › JavaScript › .clone problem › Reply To: .clone problem
May 7, 2014 at 3:01 am
#169423
Chromawoods
Participant
Although I don’t know for sure what’s wrong, there is a problem in your code, namely the ID attributes on the elements that you clone. You will end up with duplicates, which is invalid. Use classes or data-attributes instead.
Is there perhaps a live example of the problem? A CodePen?