Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js select get all options value

$("#mySelectID option").toArray().map(p=>p.value)
 
PREVIOUS NEXT
Tagged: #js #select #options
ADD COMMENT
Topic
Name
2+3 =