---
title: "Discussion on \"Event Capturing in JavaScript\" | Hashnode"
description: "Discussion on \"Event Capturing in JavaScript\". Event capturing occurs when a nested element gets clicked. The click event of its parent elements must be triggered before the click of the nested element.\n\nEvent capturing is not the default behavior of Javascript Events. In vanilla javaScript we ne..."
url: "https://hashnode.com/posts/event-capturing-in-javascript/674ea03753f31e0b40a8f4d7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Event Capturing in JavaScript](https://blog.rsaw409.me/event-capturing-in-javascript?utm_source=hashnode&utm_medium=feed)

Event capturing occurs when a nested element gets clicked. The click event of its parent elements must be triggered before the click of the nested element. Event capturing is not the default behavior of Javascript Events. In vanilla javaScript we ne...

Dec 3, 2024 · 2 min read · blog.rsaw409.me  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#events](https://hashnode.com/tag/events)
-   [#event-propagation](https://hashnode.com/tag/event-propagation)
-   [#event-capturing-and-event-bubbling-in-javascript](https://hashnode.com/tag/event-capturing-and-event-bubbling-in-javascript)
-   [#event-capturing](https://hashnode.com/tag/event-capturing)

## Written by

[Rohit Saw](https://hashnode.com/@rsaw409)

@rsaw409 · India

  
[View profile](https://hashnode.com/@rsaw409)

Software Developer

FullStack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
