- In non-IE browsers:
- The
change
event bubbles, so you can catch it when it gets todocument
in the bubbling phase. - The
focus
andblur
events don't bubble, but you can catch them on the capture phase with one event listener ondocument
.
- The
- On IE:
- None of those 3 events bubble (including the
change
event, which is not spec compliant). - There is no capture phase on IE.
- None of those 3 events bubble (including the
So, as far as I know, the only way on IE is to register an event listener for change
, focus
, and blur
on every form control. This operation can be expensive when you have a lot of controls. But is there a better way?