The change event fires when a form field changes state.
| Event | IE 5.5 | IE 6 | IE 7 | IE8b1 | FF 2 | FF 3b5 | Saf 3.0 Win | Saf 3.1 Win | Opera 9.26 | Opera 9.5b | Konqueror 3.5.7 |
|---|---|---|---|---|---|---|---|---|---|---|---|
|
On the window
|
No | Yes | Yes | Minimal | Yes | ||||||
|
Is this event available on the window?
|
|||||||||||
|
On the document
|
No | Yes | Yes | Yes | Yes | ||||||
|
Is this event available on the document? |
|||||||||||
|
On a form
|
No | Yes | Yes | Yes | Yes | ||||||
|
Is this event available on a form? |
|||||||||||
|
On text inputs
The event should fire when the text input is blurred AND its contents have changed since the user focused on it. |
Yes | Yes | Yes | Yes | Yes | ||||||
| Event | IE 5.5 | IE 6 | IE 7 | IE8b1 | FF 2 | FF 3b5 | Saf 3.0 Win | Saf 3.1 Win | Opera 9.26 | Opera 9.5b | Konqueror 3.5.7 |
|
On checkboxes and radios
The event should fire when the checkbox or radio is activated AND its |
Buggy | Yes | Yes | Too many | Yes | Yes | |||||
|
(The
|
|||||||||||
|
On select boxes
The event should fire when the user has selected a new option. |
Yes | Yes | Yes | Yes | Yes | ||||||
|
When the user uses a mouse the click on the new option fires the event; when he uses a keyboard the event is fired when the select box is blurred. |
|||||||||||
|
On reset
When the user resets the entire form the event should fire on every element that changes. |
No | No | No | No | Minimal | ||||||
|
Browsers generally disagree with my beautiful theory.
|
|||||||||||
|
Event bubbling
The event should bubble. |
Untest |
Yes | Yes | Almost | Almost | ||||||
|
|||||||||||
|
Prevent default
“No” is the correct answer
|
Buggy | No | No | No | No | No | |||||
|
The default action cannot be prevented.
|
|||||||||||
| Event | IE 5.5 | IE 6 | IE 7 | IE8b1 | FF 2 | FF 3b5 | Saf 3.0 Win | Saf 3.1 Win | Opera 9.26 | Opera 9.5b | Konqueror 3.5.7 |