25.283. Textarea.onchange: event handler invoked when input value changesDOM Level 025.283.1. SynopsisFunction onchange 25.283.2. DescriptionThe onchange property of a Textarea refers to an event-handler function that is invoked when the user changes the value in the text area and then "commits" those changes by moving the keyboard focus elsewhere. Note that the onchange event handler is not invoked when the value property of a Text object is set by JavaScript. Also note that this handler is intended to process a complete change to the input value, and therefore it is not invoked on a keystroke-by-keystroke basis. See HTMLElement.onkeypress for information on receiving notification of every key press event and Element.addEventListener( ) for another way to register event handlers. 25.283.3. See AlsoElement.addEventListener( ), HTMLElement.onkeypress, Input.onchange; Chapter 17 |