We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7533c71 + c8a52a1 commit ff9e2e2Copy full SHA for ff9e2e2
2-ui/4-forms-controls/1-form-elements/article.md
@@ -11,8 +11,8 @@ Document forms are members of the special collection `document.forms`.
11
That's a so-called "named collection": it's both named and ordered. We can use both the name or the number in the document to get the form.
12
13
```js no-beautify
14
-document.forms.my - the form with name="my"
15
-document.forms[0] - the first form in the document
+document.forms.my; // the form with name="my"
+document.forms[0] // the first form in the document
16
```
17
18
When we have a form, then any element is available in the named collection `form.elements`.
0 commit comments