www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 replaceData Method
replaceData Method

Replaces a specified range of characters in the object with a new character string.

Syntax

object.replaceData(nOffset, nCount, sString)

Parameters

nOffset Required. Integer that specifies the offset from which to start.
nCount Required. Integer that specifies the number of characters to replace.
sString Required. String that specifies the new character string.

Return Value

No return value.

Remarks

replaceData was introduced in Microsoft Internet Explorer 6

If the sum of the nOffset and nCount parameters exceeds the number of characters in the object, then all the characters to the end of the data are replaced.

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

COMMENT, TextNode
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG