createTextNode method
Creates a Text node given the specified string.
createTextNode(data )
Parameters
String data
The data for the node.
Returns
Text. The new Text object.
这对您有帮助吗?