HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

write

Description

The write of Document for JS adds the given string(s) to the Document's input stream.

Throws an "InvalidStateError" DOMException when invoked on XML documents.

Throws an "InvalidStateError" DOMException if the parser is currently executing a custom element constructor.

Syntax

document.write(...text)

Parameters

text

A string.

Examples

1 · text · single

2 · text · multiple

3 · multiple calls

4 · `