Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!james.kirk.invalid!.POSTED!not-for-mail From: James Kirk Newsgroups: comp.lang.javascript Subject: Re: on change trigger Date: Sun, 12 Jul 2020 13:17:11 -0400 Organization: Time Travel Tracing Lines: 52 Message-ID: <20200712131711.574e32ad@james.kirk.invalid> References: Reply-To: ": James Kirk" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: james.kirk.invalid; posting-host="c08180a960b8a3d2b856367e586838fb"; logging-data="27590"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hgMIh+dlV1iuOL5xgrKJjA2IW1FVUbz4=" User-Agent: Unicorn named Ellie Cancel-Lock: sha1:ti0wh6lWAyHwceGforeDRrVEcsU= X-Rot13: This message MAY contains rot13 encoded text that sensitive people may find offense, decode at your own peril. X-Newsreader: Microsoft Windows Dead Mail Original Imitation Prototype Content-Language: en-US Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QIHFgQpyK6L9AAAAEJQTFRFAAAAQAAAQEAAQEBAQECAgEBAgECAgIBAgICAgIC/gL+/v4BAv4CAv4C/v7+Av7+/v7//v////7+A/7+///+/////CTpitwAAAAF0Uk5TAEDm2GYAAAABYktHRBXl2PmjAAAB6klEQVRIx61Vi3KEIAz0pJZYUwIi//+r3QT78sTKTDM3N6e3y+5iIsPwT+UcdeHJOSd9Ao6kVyB2CqQkfQKpSI+AS6lDQh2VDoIzR6jYQVCBuymo7tH9EF+OUrwnAfxLFSjp/aajuZTbnujbUYop/dWz7P1kDyFWS4lYLuETyrs5VUKMSTyHthvFe/ZwFD8tRQ68SNvOxFlGh8hFl48oCoF9aOC9l23jB6n5GMHBR1gZfI7nvG2bf0hUL2YLNCWwf3Ilnip+Q2cX86+G8FM9MU/PgcmHDIaMZG6wflGKegLhyZQn4oxCBKlxTaHGBmHxz45ECRkRFFpX1+9UCQdPzHikRtBRiD8rzacEQjbFh5HKjixSzJco/kgQomyM5THvAoKFxXaLzgj40wj2FNSI2NW7pdbM/ritlbBOLu3rm0EnshOO3cHIAEZAIwG949ewvOqFX467ahIIsfJIltN2bF1XngQa/qxhWQkBEUTXzJWAGzCFKeKzaVDGpJllNwR84IlEiM/nIWRG54ERKrwSIDE3Jg57O7ooiVetYIX5o9gca2KcOzAUdnRtbEhcvMKAp/CrriTsoCKM2JenPAwzbr5dKWgYxUr+PoEvCCfq1DyBIf4iPYc8NQ5naUlQeynqJLRf9Z2E4cb58QHWYi4v2VmiigAAAABJRU5ErkJggg== X-Operating-System: Windows 3.0 Xref: csiph.com comp.lang.javascript:38502 In Message: Arno Welzel wrote: > Andrew Poulos: >> It seems that dispatching an event to an input within a form >> doesn't trigger the onchange event for the form: [snip] >> Is that the expected behaviour? > The expected behaviour is, that the event is fired when you changed > the input *and* the input loses the focus. It will not fired while > typing something to the input. d̲i̲s̲p̲a̲t̲c̲h̲i̲n̲g̲ ̲a̲n̲ ̲e̲v̲e̲n̲t̲? 𝐓𝐡𝐞 𝐜𝐡𝐚𝐧𝐠𝐞 𝐞v𝐞𝐧𝐭 𝐢𝐬 𝐟𝐢𝐫𝐞𝐝 … https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event#wikiArticle ¦ The change event is fired for ,