set selected value in dropdown jquery code example
Example 1: set dropdown in jquery
$('select[name^="salesrep"] option[value="Bruce Jones"]').attr("selected","selected");
Example 2: set dropdown in jquery
$('select[name^="salesrep"] option:selected').attr("selected",null);