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 Text


Subinterfaces


CDATASection


Methods


splitText( )

Splits this Text node into two at the specified character position
and returns the new Text node.


Description


A Text node represents a run of plain text in an HTML or XML
document. Plain text appears within HTML and XML elements and
attributes, and Text nodes typically appear as children of Element
and Attr nodes. Text nodes inherit from CharacterData, and the
textual content of a Text node is available through the
data property inherited from CharacterData or
through the nodeValue property inherited from
Node. Text nodes may be manipulated using any of the methods
inherited from CharacterData or with the splitText(
) method defined by the Text interface itself. Text nodes
never have children.

See Node.normalize( ) for a way to remove empty Text
nodes and merge adjacent Text nodes from a subtree of a document.


See Also


CharacterData, Node.normalize( )


Returned by


Document.createTextNode( ), Text.splitText( )

/ 844