Getting an option text/value with JavaScript

后端 未结 4 1914
迷失自我
迷失自我 2020-11-30 07:00

Answer: var option_user_selection = element.options[element.selectedIndex].text

I am trying to build a form that fills in a person\'s o

4条回答
提交回复
热议问题