Removes a specified range of characters from the node.
Method of dom/CharacterDatadom/CharacterData
Syntax textualNode.deleteData(offset, count);
Parameters offset
The zero-based character offset from which to start.
countThe number of characters to remove.
Return ValueNo return value
Examples
var phrase = document.createTextNode ("A flawed plan today is not better than a perfect plan tomorrow.");
phrase.deleteData(23, 4);
alert(phrase.data);
Usage
Upon success of this method, the data and length properties reflect the change.
Related specifications
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4