HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Prevent any propagation of the same event
The stopPropagation()
method prevents propagation of the same
event from being called.
Propagation means bubbling up to parent elements or capturing down to child elements.
The numbers in the table specify the first browser version that fully supports the method.
Method | |||||
---|---|---|---|---|---|
stopPropagation() | Yes | 9.0 | Yes | Yes | Yes |
None |
Return Value: | No return value |
---|---|
DOM Version: | DOM Level 3 Events |