P
PaPa
I notice that document.write() normally writes text (or variables) to
the "immediate" page (window??) on the screen. At other times, it
erases the "immediate" page and writes to a new page.
In my ramblings, this seems to happen randomly, but I'm sure it cannot
be a random thing.
I read something about using document.write() within an onClick
statement. It seemed to confirm this "new window" behavior.
It doesn't make sense to me that this behavior should occur. Can
someone explain why this happens?
Also, is there a rule or construct which I can hang my hat on when it
comes to exactly where document.write() is going to write?
(P.S. Guys, take it easy on me. I'm just an old man trying to learn.)
the "immediate" page (window??) on the screen. At other times, it
erases the "immediate" page and writes to a new page.
In my ramblings, this seems to happen randomly, but I'm sure it cannot
be a random thing.
I read something about using document.write() within an onClick
statement. It seemed to confirm this "new window" behavior.
It doesn't make sense to me that this behavior should occur. Can
someone explain why this happens?
Also, is there a rule or construct which I can hang my hat on when it
comes to exactly where document.write() is going to write?
(P.S. Guys, take it easy on me. I'm just an old man trying to learn.)