Clone a div and make ID's of it it's children to be unique using javascript
<p>I need to clone a div and after cloning all the elements within the div should have unique ids. I need to do this using javascript only and not jquery.</p>

<p>Can anyone help me please.</p>
