---
title: "Discussion on \"Capture Option data on Select Change\" | Hashnode"
description: "Discussion on \"Capture Option data on Select Change\". Replacing deprecated event.target.selectedIndex with this.selectedIndex"
url: "https://hashnode.com/posts/capture-option-data-on-select-change/65d02b2f4e8c33a3c0e7e83f"
---

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

Discussion

# [Capture Option data on Select Change](https://javascript.co.in/capture-option-data-on-select-change?utm_source=hashnode&utm_medium=feed)

Replacing deprecated event.target.selectedIndex with this.selectedIndex

Feb 17, 2024 · 1 min read · javascript.co.in  
Read the article

-   [#html](https://hashnode.com/tag/html)
-   [#select](https://hashnode.com/tag/select)
-   [#option](https://hashnode.com/tag/option)
-   [#onchange](https://hashnode.com/tag/onchange)
-   [#window-object](https://hashnode.com/tag/window-object)

## Written by

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh)

@anjanesh · Navi Mumbai, MH

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

Web UI Engineer

I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
