<select name="test" size="1">
<option selected></option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<script>
document.getElementsByName( "test" ).item( 0 ).selectedIndex = 2;
</script>
Работает!
|