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

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

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

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

David Flanagan

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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


Availability



DOM Level 2 Range


Constants


The following constants define the legal values for the
code property of a RangeException object. Note
that these constants are static properties of RangeException, not
properties of individual exception objects.

unsigned short BAD_BOUNDARYPOINTS_ERR = 1

The boundary points of a range are not legal for the requested
operation.

unsigned short INVALID_NODE_TYPE_ERR = 2

An attempt was made to set the container node of a range boundary
point to an invalid node or a node with an invalid ancestor.


Properties


unsigned short code

An error code that provides some detail about what caused the
exception. The legal values (and their meanings) for this property
are defined by the constants just listed.


Description


A RangeException is thrown by certain methods of the Range interface
to signal a problem of some sort. Note that most exceptions thrown by
Range methods are DOMException objects. A RangeException is generated
only when none of the existing DOMException error constants is
appropriate to describe the exception.

/ 844