appendData method
Append the string to the end of the character data of the node. Upon success, data provides access to the concatenation of data and the DOMString specified.
appendData(arg )
Parameters
String arg
The DOMString to append.
Returns
void
Throws
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
这对您有帮助吗?