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

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

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

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

David Flanagan

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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


Availability


DOM Level 1 Core


Synopsis


Attr removeAttributeNode(Attr oldAttr)
throws DOMException;

Arguments


oldAttr

The Attr node to be removed from the element.


Returns


The Attr node that was removed.


Throws


This method may throw a DOMException with the following
code values:

NO_MODIFICATION_ALLOWED_ERR

This element is read-only and does not allow attributes to be
removed.

NOT_FOUND_ERR

oldAttr is not an attribute of this
element.


Description


This method removes (and returns) an Attr node from the set of
attributes of an element. If the removed attribute has a default
value specified by the DTD, a new Attr is added representing this
default value. If is often simpler to use removeAttribute(
) instead of this method.


See Also


Attr, Element.removeAttribute( )

/ 844