Using JQM to Clone a page.

Using JQM to Clone a page.

Hi, I have tried a few ways to clone a page and append it to the body.


Basically I want to clone the page (#pageResult_0) and create a new page with the id #pageResult_1;

I know how to clone elements of pages but not on an entire page.

Any help would be great.

Thanks in advance.

PS, I have tried this but it doesn't seem to work either -  https://jsfiddle.net/m5rco7cv/5/