Section 25.283. Textarea.onchange: event handler invoked when input value changes


25.283. Textarea.onchange: event handler invoked when input value changes

DOM Level 0

25.283.1. Synopsis

 Function onchange 

25.283.2. Description

The 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 Also

Element.addEventListener( ), HTMLElement.onkeypress, Input.onchange; Chapter 17




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net