Removing a page from the DOM after appending to it.

Removing a page from the DOM after appending to it.

Hi, if I append to a page using:

newPage.appendTo($.mobile.pageContainer);

And that page has the id="added_page".

What code would I use to then remove it from the DOM at a later stage?