<SELECT id="component-select"> <OPTION value="Component_1_a" selected="selected">Component_1</OPTION> <OPTION value="Component_1_b">Component_2</OPTION> <OPTION value="Component_2_a">Component_3</OPTION> </SELECT>
function focusSelect() { var main = document.getElementById('component-select'); main.focus(); } function blurSelect() { var main = document.getElementById('component-select'); main.blur(); }