jquery - .stopPropagation() and bubbling - can someone explain it to me? -
I have a stupid question, can someone explain to me, why still on Javascript: You need to use: Doom Tree Down Not .auter begins? Even when I have set the .stopPropagation () . I think, I do not understand the issue correctly when I .inner Click on the event, then .auter
$ ('external'). ('Click', function (e) {e.stopPropagation (); $ (Toggleclass ('hidden');})
$ ('internal'). ('Click', function (E) {e.stopPropagation ();}) preventing the event bubble since $ ('Toggleclass (' hidden ';))
Comments
Post a Comment