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 selectNode(Node refNode)
throws RangeException,
DOMException;

Arguments


refNode

The node to be "selected" (i.e., the node that is to
become the content of this range).


Throws


A RangeException with a code of
INVALID_NODE_TYPE_ERR if
refNode is an Attr, Document,
DocumentFragment, Entity, or Notation node, or if any ancestor of
refNode is a DocumentType, Entity, or
Notation node.

A DOMException with a code of
WRONG_DOCUMENT_ERR if
refNode is part of a different document
than the one through which this range was created.


Description


This method sets the contents of this range to the specified
refNode. That is, it "selects"
the node and its descendants.


See Also


Range.selectNodeContents( )

/ 844