Merge pull request #2190 from dorelljames/patch-2
Update 2-ui/4-forms-controls/1-form-elements/article.md
This commit is contained in:
commit
8ccc7f6fc0
1 changed files with 3 additions and 1 deletions
|
@ -205,7 +205,9 @@ Here is an example:
|
|||
</script>
|
||||
```
|
||||
|
||||
Unlike most other controls, `<select>` allows to select multiple options at once if it has `multiple` attribute. That's feature is rarely used. In that case we need to use the first way: add/remove the `selected` property from `<option>` subelements.
|
||||
Unlike most other controls, `<select>` allows to select multiple options at once if it has `multiple` attribute. Although such functionality is available, it is rarely used.
|
||||
|
||||
In cases that you have to, then use the first way: add/remove the `selected` property from `<option>` subelements.
|
||||
|
||||
We can get their collection as `select.options`, for instance:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue