---
title: "Discussion on \"Handling events on multiple items in JavaScript\" | Hashnode"
description: "Discussion on \"Handling events on multiple items in JavaScript\". Using closest on a list of elements"
url: "https://hashnode.com/posts/handling-events-on-multiple-items-in-javascript/67b271f5980e8e26f61b6aec"
---

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

Discussion

# [Handling events on multiple items in JavaScript](https://bradpreston.hashnode.dev/handling-events-on-multiple-items-in-javascript?utm_source=hashnode&utm_medium=feed)

Using closest on a list of elements

Feb 16, 2025 · 3 min read · bradpreston.hashnode.dev  
Read the article

-   [#closest](https://hashnode.com/tag/closest)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#event-handling](https://hashnode.com/tag/event-handling)

## Written by

[Brad Preston](https://hashnode.com/@bpreston5393)

@bpreston5393

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

Forever lost in localhost

I'm a web developer who aims to improve my own knowledge and skills while also helping others do the same.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
