DOM:document.writeln
From MDC
Contents |
[edit] Summary
Writes a string of text followed by a newline character to a document.
[edit] Syntax
document.writeln(line)
[edit] Parameters
lineis string containing a line of text.
[edit] Example
document.writeln("<p>enter password:</p>");
[edit] Notes
document.writeln is the same as document.write but adds a newline.