add a selected in the option of a select in jquwey code example
Example 1: add option to select jquery
$.each(items, function (i, item) {
$('#mySelect').append($('<option>', {
value: item.value,
text : item.text
}));
});
Example 2: add select option jquery
Add option to a select list of picklist