append function with selected in jquery code example
Example 1: jquery insert option into select
$('#ID_DO_SELECT').append('<option value="valor">texto</option>');
Example 2: To append dropdown option using jquery
$('#ddlGroup').append(new Option('Select group', '0'));