createTextNode
Syntax
text = document.createTextNode(data)
Parameters
data is a string containing the data to be put in the text node.
Example
t = document.createTextNode("Plain Old Text."); p = document.getElementById("firstP"); p.appendChild(t);
Notes
Specification
createTextNode
Netscape Communications http://developer.netscape.com |