javascript text replaceData( )
| replaceData( ) | NN 6 IE 5(Mac)/6(Win) DOM 1 |
replaceData(startOffset, count, "newText") | |
|
Replaces text in the current text node with new text. The original content to be removed is signified by the zero-based start position and the number of characters. The string passed as a third parameter goes into the space vacated by the removed text. A bug in IE 5 for Macintosh crops the new text to the length of the removed text. |
|
| Parameters | |
|
|
| Returned Value | |
None. |
|
Previous: javascript text splitText( )
2066,Nickname,Homepage or email,Comments here,Add comment
