Javascript [Electronic resources] : The Definitive Guide (4th Edition) نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Javascript [Electronic resources] : The Definitive Guide (4th Edition) - نسخه متنی

David Flanagan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


Availability


DOM
Level 1 Core

Inherits from/Overrides


Node CharacterData


Subinterfaces


Comment, Text


Properties



String data

The text
contained by this node.

readonly unsigned long length

The number
of characters contained by this node.


Methods


appendData( )

Appends the specified string to the text contained by this node.

deleteData( )

Deletes text from this node, starting with the character at the
specified offset and continuing for the specified number of
characters.

insertData( )

Inserts the specified string into the text of this node at the
specified character offset.

replaceData( )

Replaces the characters starting at the specified character offset
and continuing for the specified number of characters with the
specified string.

substringData( )

Returns a copy of the text starting at the specified character offset
and continuing for the specified number of characters.


Description


CharacterData is the superinterface for Text and Comment nodes.
Documents never contain CharacterData nodes; they contain only Text
and Comment nodes. Since both of these node types have similar
functionality, however, that functionality has been defined here so
that both Text and Comment can inherit it.


See Also


Comment, Text

/ 844