Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
go
Expand Minimize

deleteData method

Removes a specified range of characters from the object.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4

 

Syntax

object.deleteData(offset, Count)

Parameters

offset [in]

Type: Integer

Integer that specifies the offset from which to start.

Count [in]

Type: Integer

Integer that specifies the number of characters to remove.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

Remarks

deleteData was introduced in Microsoft Internet Explorer 6

Upon success of this method, the data and length properties reflect the change.

See also

comment
TextNode

 

 

Show:
© 2015 Microsoft