var reg_name = "A"; $("#controlID option").each(function () { if ($(this).text() == reg_name) { $('#controlID').val($(this).val()); } });