Answers for "get value of an select option with js"

0

find option values using javascript

var thisOptionValue = [];
    $("#age option").each(function() {
        thisOptionValue.push($(this).val());

    });
    console.log(thisOptionValue)
Posted by: Guest on November-18-2021

Code answers related to "get value of an select option with js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language