Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New pages: The value and valueAsNumber properties for htmlinputelement #35560

Merged
merged 7 commits into from
Aug 23, 2024

Conversation

estelle
Copy link
Member

@estelle estelle commented Aug 23, 2024

Fixes #34682
Part of #35544

@estelle estelle requested a review from a team as a code owner August 23, 2024 00:41
@estelle estelle requested review from sideshowbarker and removed request for a team August 23, 2024 00:41
@github-actions github-actions bot added Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed labels Aug 23, 2024
Copy link
Contributor

github-actions bot commented Aug 23, 2024

Preview URLs

Flaws (2)

URL: /en-US/docs/Web/API/HTMLInputElement/value
Title: HTMLInputElement: value property
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/HTMLInputElement/valueAsDate does not exist

URL: /en-US/docs/Web/API/HTMLInputElement/valueAsNumber
Title: HTMLInputElement: valueAsNumber property
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/HTMLInputElement/valueAsDate does not exist

(comment last updated: 2024-08-23 01:54:59)


{{ APIRef("HTML DOM") }}

The **`valueAsNumber`** property of the {{DOMxRef("HTMLInputElement")}} interface represents the current value of the {{htmlelement("input")}} element as a number or `NaN` if converting to a numeric value is not impossible.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The **`valueAsNumber`** property of the {{DOMxRef("HTMLInputElement")}} interface represents the current value of the {{htmlelement("input")}} element as a number or `NaN` if converting to a numeric value is not impossible.
The **`valueAsNumber`** property of the {{DOMxRef("HTMLInputElement")}} interface represents the current value of the {{htmlelement("input")}} element as a number or `NaN` if converting to a numeric value is not possible.

@estelle estelle merged commit 4011f1b into main Aug 23, 2024
9 checks passed
@estelle estelle deleted the inputinstancebasic branch August 23, 2024 02:29
@estelle
Copy link
Member Author

estelle commented Aug 23, 2024

ooops, didn't see the next edit. fixed in #35562

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The link to "value" is not working
3 participants