Is the event bubble supported by all browsers?

jQuery uses event bubbling technology to handle events.

And he claims to be a cross browser,

but is this an "event bubble" supported by all browsers?

There is another strategy: capturing an event that is inverse to the event bubble, is it extinct?

Or my question could be reformulated as:

Can Javascript decide if the "event capture" or "bubble event" strategy itself chooses?

+3
source share
4 answers

All browsers? No. Lynx, for example, does not support JavaScript at all.

, DOM. jQuery .

+5

jQuery :

  • Firefox 2 +
  • IE6 +
  • Safari 3 +
  • Opera 9 +
  • Chrome 1 +

.

W3Schools 99.2% 2009 ., , - . , - . , , , , .

+2

In short, yes. Netscape Navigator 4 does not support it, but I don’t think there is much to worry about Netscape 4 support these days.

0
source

Either they are lying, or the definition of “Cross-browser” should be slightly changed. It is either a cross browser, or there is no gap.

-4
source

Source: https://habr.com/ru/post/1715265/


All Articles