html
<div class="col-sm-7">
<select class="col-xs-10" id="accessoryId"></select>
</div>
js
$('#accessoryId option:contains(' + *** + ')').each(function() {
if ($(this).text() == ***) {
$(this).attr('selected', true);
}
});
html
<div class="col-sm-7">
<select class="col-xs-10" id="accessoryId"></select>
</div>
js
$('#accessoryId option:contains(' + *** + ')').each(function() {
if ($(this).text() == ***) {
$(this).attr('selected', true);
}
});