[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: document.clear() ???
Don't bother; document.clear() appears broken on all platforms. You can
duplicate it by closing the output stream, opening a new one, and sending
anything there:
document.close();
document.open();
document.write("<P>");
At 05:01 PM 2/29/96 EST, you wrote:
>Hi everybody,
>
>I have looked through all my JS- ressources but I couldn't find anything about
>the document.clear() function. (expect the Netscape stuff, of course). The
>problem I have is that it won't clear a frame (accessed from another frame). It
>just ignores my function call. Is this a known problem? If so, is there a work
>around?
>
>Thanks for any help,
>Stefan
>
>Here's my function:
>
>function display(pos) {
> parent.ga1.document.clear();
> parent.ga1.document.write("<html><body>");
> parent.ga1.document.write(pos[6]+" "+pos[7]+" "+pos[8]+"<br>");
> parent.ga1.document.write(pos[10]+" "+pos[11]+" "+pos[12]+"<br>");
> parent.ga1.document.write(pos[14]+" "+pos[15]+" "+pos[16]+"<br>");
> parent.ga1.document.write("</body></html>");
> }
>
>
>--------------------------------------------------------------------
>This message came from the mailing list javascript. For help using the
>mailing list software, please send a message to 'majordomo@obscure.org'
>with the message body 'help'. To unsubscribe, send a message to
>'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
>
>
--------------------------------------------------------------------
This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.