aboutsummaryrefslogtreecommitdiff
path: root/files/ja/archive/mozilla/xul/method/getelementsbyattribute/index.html
blob: 63397f028046ca70e2254c5a8951776ff2923988 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
title: getElementsByAttribute
slug: Archive/Mozilla/XUL/Method/getElementsByAttribute
tags:
  - XUL Methods
  - XUL Reference
translation_of: Archive/Mozilla/XUL/Method/getElementsByAttribute
---
<div class="noinclude">
  <span class="breadcrumbs XULRefMeth_breadcrumbs">« <a href="/ja/docs/XUL_Reference" title="/ja/docs/XUL_Reference">XUL リファレンス HOME</a></span></div>
<dl>
  <dt><span id="m-getElementsByAttribute"><code><a href="https://developer.mozilla.org/ja/docs/Mozilla/Tech/XUL/Method/getElementsByAttribute">getElementsByAttribute( attrib, value )</a></code></span></dt>
  <dd>戻り値の型: <em>DOM NodeList</em></dd>
  <dd>最初の引数に与えた属性に 2 番目の引数に与えた値が設定された、すべての子要素の配列を返します。2 番目の引数が '*' の場合は、属性に任意の値が設定されたものとします。</dd>
  <dd>このメソッドは XUL 要素上でのみ使用可能です。 DOM の一部ではないので注意してください。</dd>
</dl>