I have two HTML files: index.html and Page2.html.
I have a button in index.html page which is called WWW_onclick().
As you see below, this function opens Page2.html and writes "hello".
Problem is this function wipes out the original Page2.html and only writes "hello".
Is there a way to keep the content of the Page2.html and add additional text, image, or ... in it?
function WWW_onclick()
{
document.location.href = "Page2.html";
document.write("hello");
}