Javascript Methods JavaScript Reference

Note:
Deletes a string from the object.
    
Syntax:
    
textNodeName.deleteData(param1, param2) // IE only
document.getElementById("commentID").deleteData(param1, param2)
document.all.commentID.deleteData(param1, param2) // IE only
Parameters:
    param1   Required; the first character in the string to remove.
    param2   Required; the number of characters to remove.