What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-30 02:12:04
event bubbling in javascript
<script> form.onclick = function(event) { event.target.style.backgroundColor = 'yellow'; // chrome needs some time to paint yellow setTimeout(() => { alert("target = " + event.target.tagName + ", this=" + this.tagN... Add solution
Best helpers
Rory Becker
+5
Zipirovich
+5
Ian Elliott
+5
Shivji
+5
Gogehat
+5
Jkdev
+5
Ila46
+5
Deedee
+5
TheShade
+5
Alex Kazan
+5
Shamyaprasa
+5
Ann Shaw
+5
Jerry W.
+5
Skippy
+5
Anmol
+5
Phil Lello
+5
Noein
+5