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

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

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

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

David Flanagan

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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


Availability


DOM Level 1 HTML


Synopsis


Node[] getElementsByName(String elementName);

Arguments


elementName

The desired value for the name attribute.


Returns


An array (really a NodeList) of elements that have a
name attribute of the specified value. If no such
elements are found, the returned NodeList is empty and has a
length of 0.


Description


This method searches an HTML document tree for Element nodes that
have a name attribute of the specified value and
returns a NodeList (which you can treat as an array) containing all
matching elements. If there are no matching elements, a NodeList with
length 0 is returned.

Do not confuse this method with the Document.getElementById(
) method, which finds a single Element based on the unique
value of an id attribute, or with the
Document.getElementsByTagName( ) method, which
returns a NodeList of elements with the specified tag name.


See Also


Document.getElementById( ), Document.getElementsByTagName( )

/ 844