What I am basically trying to do is the following. Suppose I have a page and a link on it. As I click it, new browser window opens. OK, this is pretty straigtforward, so no problem. The most interesting part of the story though is that I want HTML in that newly opened window to be created on the fly. I tried to do it using the document.write('here comes HTML') function. The problem is that this code then applies to my initial window, not newly opened one, which is of course not what I want.
The question is then how to make it apply to a creted window?
Any help highly appreciated.
0 · ·