Thanks.
What I intend is to store the HTML content of a child page in a javascript variable, so that I can clone it. That is, I would use the window.Open() method with a valid URL to download the original child page first; then somehow I would store this page's HTML in a string variable client-side. Next time I want a child page, I would use the window.Open() method without an URL and then use the document.write() method to create a clone of the first page. In other words, I want to use the original child page as a template.
This is because the main page (the one that calls the child pages) has a grid, and I want that when the user clicks a row, a child page is displayed showing that row's same data, but in a different layout. As you can read, since I already have the row's data client-side, I do not need to return to the server for data that I already have in the client.