JavaScript: The Definitive Guide

25.70. Document.createTextNode( ): create a new Text node

DOM Level 1 Core:

25.70.1. Synopsis

Text createTextNode(String data);

25.70.1.1. Arguments

data

The content of the Text node.

25.70.1.2. Returns

A newly created Text node that represents the specified data string.

Категории