Section 25.155. HTMLDocument.writeln( ): append HTML text and a newline to an open document


25.155. HTMLDocument.writeln( ): append HTML text and a newline to an open document

DOM Level 0

25.155.1. Synopsis

 void writeln(String text); 

25.155.1.1. Arguments

text

The HTML text to be appended to the document.

25.155.2. Description

This method is like HTMLDocument.write( ), except that it follows the appended text with a newline character, which may be useful when writing the content of a <pre> tag, for example.

25.155.3. See Also

HTMLDocument.write( )




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net