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

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

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

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

David Flanagan

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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

Availability


DOM Level 2 Core


Synopsis

Node setNamedItemNS(Node arg)
throws DOMException;

Arguments


arg

The node to be added to the NamedNodeMap.


Returns


The node that was replaced, or null if no node was
replaced.


Throws


This method throws exceptions for the same reasons as
setNamedItem( ). It may also throw a DOMException
with a code of
NOT_SUPPORTED_ERR if it is called in an
implementation that does not support XML documents or XML namespaces.


Description


This method works like setNamedItem( ), except
that the node added to the NamedNodeMap can later be looked up by its
namespaceURI and localName
properties instead of by its nodeName property.
This method is useful only with XML documents that use namespaces.
Note that this method may be unsupported (i.e., may throw an
exception) in implementations that do not support XML documents.


/ 844