onchangeonchange*
*Contents  *Index  *Topic Contents
*Previous Topic: onbounce
*Next Topic: onclick

onchange

Description

Fires when the contents of the object have changed.

Remarks

This event is fired when the contents are committed, not while the value is changing. For example, on a text box, this event is not fired while the user is typing, but rather when the user commits the change by pressing ENTER or leaving the text box focus. This event will not bubble. Events that do not bubble can only be handled on the individual object that fired the event.

This code is executed before the code specified by onblur, if the control is also losing the focus.

Applies To

INPUT, SELECT, TEXTAREA

See Also

onkeypress


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.