Name
open( ) — NN 2 IE 3 DOM n/a
Synopsis
open(”MIMEType“[, “replace"])
Opens the output stream for writing to the current window or frame.
If document.clear( ) has not already been invoked,
it is automatically invoked in response to the
document.open( ) method. Early version bugs may
lead you to use document.write( ) and
document.writeln( ) to take care of this method
more reliably for you.
Returned Value
None.
Parameters
-
MIMEType Advises the browser of the MIME type of the data to be written in subsequent statements. Navigator supports:
"text/html"|"text/plain"|"image/gif"|"image/jpeg"|"image/xbm"|"plugIn". Only"text/html"supported in Internet Explorer 4.-
replace The presence of this parameter directs the browser to replace the entry in the history list for the current document with the document about to be written.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access