how to set value in dropdown using jquery code example
Example 1: change value of drop down using jquery
$('#ddlID').val('New_OptionValue').change()
Example 2: set dropdown in jquery
$('select[name^="salesrep"] option[value="Bruce Jones"]').attr("selected","selected");
Example 3: how to set dropdown value in jquery
$("#comboboxid").val(yourvalue).trigger("chosen:updated");
Example 4: set dropdown in jquery
$('select[name^="salesrep"] option:selected').attr("selected",null);