Based on answers here it seems that in the past change
event did not bubble
from an input
to the enclosing form
, but currently it does in most web browsers. I'm curious to know from when support for bubbling change event was added, and if it can reliably be used? I searched online and I wasn't able to find a reference.
Asked
Active
Viewed 223 times
1

Ali Shakiba
- 20,549
- 18
- 61
- 88
-
Bubbling happens on the last event phase. Capturing phase goes from `form` down to the last node in the event chain (in a change event, it has to be an input, select, or textarea). Target phase is the `event.target` (e.g. input that's value has changed and is no longer in focus (blur)). Then bubbling phase is from the event.target back to the `form`. – zer00ne Aug 30 '17 at 06:17
-
@zer00ne Thanks, I updated my question to clear up my question. – Ali Shakiba Aug 30 '17 at 15:54