Answers for "create an option jquery"

0

add option to select jquery

$.each(items, function (i, item) {
    $('#mySelect').append($('<option>', { 
        value: item.value,
        text : item.text 
    }));
});
Posted by: Guest on March-18-2020

Code answers related to "create an option jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language