How can I using javascript make clone of some and set his id different from original. Jquery also will be nice.
and set his id different from original. Jquery also will be nice.
I had the same problem. I've solved that by setting a counter and appending it to the ID. Hope it helps you too: