Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add option to select jquery

$.each(items, function (i, item) {
    $('#mySelect').append($('<option>', { 
        value: item.value,
        text : item.text 
    }));
});
Source by biblioteca.gloradin.com #
 
PREVIOUS NEXT
Tagged: #add #option #select #jquery
ADD COMMENT
Topic
Name
2+3 =