+ 2
How to get the value of Select Option in Javascript?
A select html look like this: <select id="mine"> <option value="1">Hello</option> <option value="2">World</option> </select> How do i get the value in javascript? I always got an error message and I'm desperate right now :)
3 Antworten
+ 11
https://code.sololearn.com/W13U1WbQHTcl/?ref=app
here's a demo
+ 7
👌
+ 2
Thank you very much @Burey :)