clear window?
how can I clear a window back to nothing that i opened using the window.open function...?
thanks.
I don't think I understand what you mean...
This isn't really important anymore, but still would be nice to know.
Okay, i know I can write to a window I opened with javascript by going newwindow.document.write
but how do i clear it back to nothing without closing it and opening it again (which crashes IE quite often)?
Can I just do newwindow.document.clear? well you cant, but you get my point (i hope).
Okay, thanks.
Hmm.... Try:
newwindow.document.write('')
If it doesn't work, try:
newwindow.document.write('v')
What are you talking about? I am confused.
All those commands would do is *append* nothing, and then *append* a v.
Well, you want the new window to be EMPTY onClick, right?
basically i want to open a window, write to the window, clear the window (empty it), then write more to the window.
I know this works:
document.open();
document.clear();
document.close();
I'm not sure if just one or two of those causes that, but all three work together.
aDog
Like I said before, I dont need this anymore, I wrote a work around that works even better, but thanks anyways, this will be helpful to know in the future.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks