JavaScript Window Function Guide Writes in Window
(Author: hear the wind compiler 2001 at 11:35 on January 19)
Window.Open () method Opens a new window, open a new document in which write content can be written in Write () or WriteLn () method, its syntax is: onewdoc = document.open (SmimeType SREPLACE]); SMINETYPE is a string that defines the MIME type. Navigator supports several different MIME types, but Internet Explorer only supports "text / html". The SMINTYPE parameter is optional. The second parameter is also a string, which defines whether the new document written is to replace the location of the current document in the history. If you want to replace the replacement, use the string "Replace". "Replace" is basically used to have a window with an empty document or an "About: Blank" URL. When "Replace" is defined, the Write () method can create HTML content in this window and replace the location of the current URL in the history. If "Replace" is not defined, the established HTML has its own historical position, and the user can click the back button until it is air. Take a look at the script block below: VAR OnewDoc = Document.Open ("text / html", "replace"); var smarkup = "