I had code that updates the value of a text box:

Code:
document.getElementById('textbox[1]').value = colour_b;
However I've had to change the text box to a drop down box (<select>)... However this code doesn't work...

Code:
document.getElementById('select[1]').value = colour_b;
What code would I need to use to change the selected drop down option?