DekGenius.com
Team LiB   Previous Section   Next Section
CharacterData.appendData( ) append a string to a Text or Comment node

Availability

DOM Level 1 Core

Synopsis

void appendData(String arg) 
    throws DOMException;

Arguments

arg

The string to be appended to the Text or Comment node.

Throws

This method throws a DOMException with a code of NO_MODIFICATION_ALLOWED_ERR if called on a node that is read-only.

Description

This method appends the string arg to the end of the data property for this node.

    Team LiB   Previous Section   Next Section