I have a form that has a SELECT object. I would like to go to a URL dependent on the choice the user makes.

Something like this:

<select size="1" name="D1" onchange="window.location='http://localhost/test.htm?Choice=this.value'">
<option value="red">red</option>
<option value="blue">blue</option>

What I would like to see is "http://localhost/test.htm?Choice=blue" sent to the browser.
My syntax is wrong, or something. Can someone help me?