use the selectedIndex property:<select id="something">
....
</select>
<input type="button" value="select" onclick="setSelection(1)">
<script language="javascript">
function setSelection(n)
{
  if ( (something.options.length > 0) && (n >=0) &&  (n < something.options.length) )
     something.selectedIndex = n;
}
</script>