how to give value in the dropdown 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);