jquery code to set the value of a dropdown code example
Example 1: set dropdown in jquery
$('select[name^="salesrep"] option[value="Bruce Jones"]').attr("selected","selected");
Example 2: how to set the value of dropdown
BY LOVE
$("#ddlPartnerType").val(0);