Update article.md
This commit is contained in:
parent
d78ce9ca32
commit
4711ee4e85
1 changed files with 2 additions and 2 deletions
|
@ -289,9 +289,9 @@ Form navigation:
|
|||
`element.form`
|
||||
: Elements reference their form in the `form` property.
|
||||
|
||||
Value is available as `input.value`, `textarea.value`, `select.value`, etc. (or `input.checked` for checkboxes and radio buttons).
|
||||
Value is available as `input.value`, `textarea.value`, `select.value`, etc. (For checkboxes and radio buttons, use `input.checked` to determine whether a value is selected.)
|
||||
|
||||
For `<select>`, we can also get the value by the index `select.selectedIndex` or through the options collection `select.options`.
|
||||
For `<select>`, one can also get the value by the index `select.selectedIndex` or through the options collection `select.options`.
|
||||
|
||||
These are the basics to start working with forms. We'll meet many examples further in the tutorial.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue