I'm trying to duplicate the meta
div of a Youtube video page. It's the div below the title div of the video and like and dislike. I want you to have 2 equals, one on top of the other.
But when I use:
original = document.querySelectorAll('#meta');
clone = original[original.length-1].cloneNode(true);
clone.id = "meta1";
original[original.length-1].after(clone);
It duplicates the div, but the information inside it (the children) does not appear.