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

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

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

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

David Flanagan

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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


Availability


DOM Level 2 Range


Synopsis

void deleteContents( )
throws DOMException;

Throws


If any portion of the document that is represented by this range is
read-only, this method throws a DOMException with a
code of
NO_MODIFICATION_ALLOWED_ERR.


Description


This method deletes all document content represented by this range.
When this method returns, the range is collapsed with both boundary
points at the same position. Note that the deletion may result in
adjacent Text nodes that can be merged with a call to
Node.normalize( ).

See Range.cloneContents( ) for a way to copy document content
and Range.extractContents( ) for a way to copy and delete
document content in a single operation.


See Also


Node.normalize( ), Range.cloneContents( ), Range.extractContents( )

/ 844