XML DOM Comment Object
- Previous page DOM CDATA
- Next page DOM XMLHttpRequest
Comment Object
The Comment Object represents the content of the comment node in the document.
Properties of Comment Object
Property | Description |
---|---|
data | Sets or returns the text of the node. |
length | Returns the text length of the node. |
Methods of Comment Object
Method | Description |
---|---|
appendData() | Append data to the node. |
deleteData() | Delete data from the node. |
insertData() | Insert data into the node. |
replaceData() | Replace data in the node. |
substringData() | Extract data from the node. |
- Previous page DOM CDATA
- Next page DOM XMLHttpRequest