How to get value of dropdown selection
With JavaScript.I am try to get values of
Dropdown selection but I don't success this project.Please help me I am continue a web application project with JavaScript
Asked
Active
Viewed 52 times
-3

user11339440
- 3
- 2
-
1Welcome to Stack Overflow! Please visit the [help] to see what and [ask]. HINT: Post effort and CODE. – mplungjan Apr 10 '19 at 09:31
-
Also repeating a non-question several times is not helping us helping you – mplungjan Apr 10 '19 at 09:32
-
Possible duplicate of [Get selected value in dropdown list using JavaScript?](https://stackoverflow.com/questions/1085801/get-selected-value-in-dropdown-list-using-javascript) – Maxime Apr 10 '19 at 09:32
-
Thanks to your answer&help friends – user11339440 Apr 10 '19 at 09:37
2 Answers
0
I would recomment you to use jQuery. Once you have jQuery all you need is $("#idOfSelection").val()
to get your value. Without jQuery you would need document.getElementById("idOfSelection").value
.

alex
- 576
- 4
- 25