Выбрать в select нужный пункт, при загрузки

В jQuery v1.6+:

Имеем список

<select>
    <option value="0">One</option>
    <option value="1">Two</option>
</select>

 

Нужно найти опцию с текстом «two» и поставить её по умолчанию.

var text1 = 'Two';
$("select option").filter(function() {
    //may want to use $.trim in here
    return $(this).text() == text1; 
}).prop('selected', true);

 

Результат: https://jsfiddle.net/uhh6auxb/

В jQuery v1.9+:

$('select').val('1'); // selects "Two"
$('select').val('Two'); // also selects "Two"

 

Результат: https://jsfiddle.net/fba3vweq/

Источник: http://stackoverflow.com/questions/496052/jquery-setting-the-selected-value-of-a-select-control-via-its-text-description