Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4b3474b

Browse files
Fixed missing closing parenthesis in 2-ui/4-forms-control/1-form-elements/article.md
1 parent 1dce5b7 commit 4b3474b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎2-ui/4-forms-controls/1-form-elements/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ This syntax is optional. We can use `document.createElement('option')` and set a
244244
- `defaultSelected` -- if `true`, then `selected` HTML-attribute is created,
245245
- `selected` -- if `true`, then the option is selected.
246246
247-
The difference between `defaultSelected` and `selected` is that `defaultSelected` sets the HTML-attribute (that we can get using `option.getAttribute('selected')`, while `selected` sets whether the option is selected or not.
247+
The difference between `defaultSelected` and `selected` is that `defaultSelected` sets the HTML-attribute (that we can get using `option.getAttribute('selected')`), while `selected` sets whether the option is selected or not.
248248
249249
In practice, one should usually set _both_ values to `true` or `false`. (Or, simply omit them; both default to `false`.)
250250

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /