jquery set value of 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);
$('select[name^="salesrep"] option[value="Bruce Jones"]').attr("selected","selected");
BY LOVE
$("#ddlPartnerType").val(0);