Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
HTMLFormControlsCollection インターフェイスは、HTML のフォームコントロール要素の集合を表すインターフェイスです。HTMLFormElement インターフェイスの elements プロパティから返されます。
HTMLCollection から継承されるプロパティとメソッドの他に、追加メソッドが一つ提供されます。
HTMLCollection HTMLFormControlsCollectionこのインターフェイスには親である HTMLCollection から継承したプロパティがあります。
このインターフェイスには親である HTMLCollection から継承したメソッドがあります。
HTMLFormControlsCollection.namedItem()集合内の RadioNodeList または Element の name または id が指定した名前と一致するノード、または一致するノードがない場合は null を返します。このバージョンの namedItem() は HTMLCollection から継承されたものを隠していることに注意してください。そのメソッドと同様、collection["value"] のように文字列で JavaScript の配列の括弧構文を使用すると、 collection.namedItem("value") と同等になります。
| HTML # htmlformcontrolscollection |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2023年6月7日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.