Hi,
I am trying to write the content of one html page to another. But the
problem is it overwrites everything that other html page has.
For Example, I have two pages. One is 1.html & second is 2.html. There
is a div in 1.html. I want to write that div contents to 2.html.
2.html has some content in it. But when I write to 2.html, the div
content is overwriting everything that is in 2.html and I dont want to
do that.
I am using this to write:
printWin = window.open("2.html","printSpecial");
printWin.document.open();
printWin.document.write(html);
printWin.document.close();
Any Ideas what I am doing wrong here?