diff options
Diffstat (limited to 'files/it/web/api/htmlformelement/elements/index.html')
-rw-r--r-- | files/it/web/api/htmlformelement/elements/index.html | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/files/it/web/api/htmlformelement/elements/index.html b/files/it/web/api/htmlformelement/elements/index.html deleted file mode 100644 index 3ea2a2aa32..0000000000 --- a/files/it/web/api/htmlformelement/elements/index.html +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: HTMLFormElement.elements -slug: Web/API/HTMLFormElement/elements -tags: - - DOM - - Gecko - - Reference_del_DOM_di_Gecko - - Tutte_le_categorie -translation_of: Web/API/HTMLFormElement/elements ---- -<div> -<div>{{APIRef("HTML DOM")}}</div> -</div> - -<p>Restituisce una <code><a class="external" href="http://www.w3.org/TR/2001/WD-DOM-Level-2-HTML-20011025/html.html#ID-75708506">HTMLCollection</a></code> contenente tutti i controlli dell'elemento form a cui si riferisce.</p> - -<p>Puoi accedere un elemento della collezione sia usando l'indice che usando l'<a href="it/DOM/element.id">id</a> o il <a href="it/DOM/element.name">name</a>.</p> - -<h3 id="Sintassi" name="Sintassi">Sintassi</h3> - -<pre class="eval"><i>nodeList</i> = -<i>HTMLFormElement</i>.elements -</pre> - -<h3 id="Esempio" name="Esempio">Esempio</h3> - -<pre class="eval">var input = document.getElementById("form1").elements; -var inputByIndex = inputs[2]; //indice -var inputByName = inputs["login"]; //id oppure name -</pre> - -<h3 id="Specifiche" name="Specifiche">Specifiche</h3> - -<p>Specifica W3C DOM 2 HTML Specifica <a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-76728479">elements</a></p> |