ZVON
>
References
>
DOM2 Reference
Intro
/
Search
/
ZVON
DOM2 reference
>
Core:
CharacterData
>
insertData
[Go to standard]
[Glossary]
[Help]
insertData (method )
Owning interface and usage:
CharacterData
.
insertData
(
offset
,
arg
)
Member of these other interfaces:
CDATASection
,
Comment
,
Text
Description:
Insert a string at the specified
16-bit unit
offset.
Parameters:
unsigned
offset
-
The character offset at which to insert.
DOMString
arg
-
The
DOMString
to insert.
Returns:
nothing
Exceptions:
DOMException
INDEX_SIZE_ERR
Raised if the specified
offset
is negative or greater than the number of
16-bit unit
s in
data
.
DOMException
NO_MODIFICATION_ALLOWED_ERR
Raised if this node is readonly.
Example:
JavaScript:
var txt = document.createTextNode('AAA-BBB'); txt.insertData(3, 'CCC'); var output = txt.data;
Output:
desired
your browser
AAACCC-BBB
_____________________________________________
Reference Search
|
Sitemap
|
XML Glossary
ZVON
|
Systinet
Related sites:
dotNet Slackers
- Your latest resource for ASP.NET
Dotnet Spider
- Outsourcing and Offshore software development in India
XML
- Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
Planet Source Code
- The largest public source code database on the Internet
VisualBuilder
-
DevGuru
-
Web Design
-
Your HTML Source
- HTML Tutorials
XML/XSLT Forums
- Do you have a tough XML or XSLT Question? Ask it here.
ASPAlliance
- The #1 ASP.NET Community
Scripts
- Scripts
UNLIMITED Web Hosting by HostDepartment
Alojamiento Web
UK Domain Names
glossary for conference call
answering service
MSN
VoIP Internettelefonie
Hosted Exchange, SDSL
VoIP Internettelefonie AT
VoIP Internettelefonie DE