• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

document.open()

JavaScript1.0+, JScript1.0+ Nav2+, IE3+, Opera3+ Syntax

document.open()
document.open(mimetype)

Description

The open() method of the Document object clears the current document and opens a stream for new data to be placed in the document. This method accepts one argument, mimetype, that specifies what type of data will be written to the document. The argument can be one of the following standard mimetypes: text/html, text/plain, image/gif, image/jpeg, or image/x-bitmap.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint