|
|
|
|
|
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
core
| mozilla.org | mailto:oeschger | bug 93108 |
|
|
|
|
|