From dd3eefecfa90533e7787c9f57c6e773e14513d8e Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Thu, 14 Sep 2023 10:28:18 -0700 Subject: [PATCH] Update files/en-us/web/api/htmlelement/input_event/index.md --- files/en-us/web/api/htmlelement/input_event/index.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/en-us/web/api/htmlelement/input_event/index.md b/files/en-us/web/api/htmlelement/input_event/index.md index 315cab027e32506..3b397ffd1e79063 100644 --- a/files/en-us/web/api/htmlelement/input_event/index.md +++ b/files/en-us/web/api/htmlelement/input_event/index.md @@ -16,9 +16,7 @@ For `` elements with `type=checkbox` or `type=radio`, the `input` event s For {{htmlelement("textarea")}} and {{htmlelement("input")}} elements that accept text input (`type=text`, `type=tel`, etc.), the interface is {{DOMxRef("InputEvent")}}; for others, the interface is {{DOMxRef("Event")}}. -The `input` event is fired every time the `value` of the element changes. This is unlike the {{domxref("HTMLElement/change_event", "change")}} event, which only fires when the value is committed, such as by pressing the enter key, selecting a value from a list of options, and the like. - -Note that the `input` event is not fired when an element's `value` is changed programmatically using JavaScript. +The `input` event is fired every time the `value` of the element changes. This is unlike the {{domxref("HTMLElement/change_event", "change")}} event, which only fires when the value is committed, such as by pressing the enter key or selecting a value from a list of options. Note that the `input` event is not fired when JavaScript changes an element's `value` programmatically. ## Syntax