jquery add value in dropdown and select code example
Example 1: set dropdown in jquery
$('select[name^="salesrep"] option[value="Bruce Jones"]').attr("selected","selected");
Example 2: how to append the dropdown values by jquery each function
BY LOVE
$.each(obj , function (key, value) {
$('#GroupName').append($('<option>',
{
value: value.id,
text: value.Group_Name
}));