An issue I ran into when the value is an ID and the text is a code. You cannot set the value using the code but you don't have direct access to the ID.
var value;
$("#selectorId > option").each(function () {
if ("SOMECODE" === $(this).text()) {
value = $(this).val();
}
});
//Do work here