append option in dropdown using jquery code example
Example 1: how to append values to dropdown using jquery
BY LOVE
$.each(obj , function (key, value) {
$('#GroupName').append($('<option>',
{
value: value.id,
text: value.Group_Name
}));
Example 2: To append dropdown option using jquery
$('#ddlGroup').append(new Option('Select group', '0'));