How to get from an element all the data set using the data method?
<p>all is said in the title, I want to get from an element all the data set using the data method.</p>

<p>(ultimately I want to copy that data over to a newly created element)</p>

<p>thanks for any help !</p>

<p>Olivier</p>
