stopPropagation() Event Method
More "Try it Yourself" examples below.
Definition and Usage
The stopPropagation() method prevents further propagation of an event during event flow.
Browser Support
The numbers in the table specify the first browser version that fully supports the method.
| Method | |||||
|---|---|---|---|---|---|
| stopPropagation() | Yes | 9.0 | Yes | Yes | Yes |
Syntax
event.stopPropagation()
Parameters
| None |
Technical Details
| Return Value: | No return value |
|---|---|
| DOM Version: | DOM Level 2 Events |
❮ Event Object

