title: javascript dropdown menu onclick
body: <p>I've been working at this for a while now, but don't understand what's wrong with my code. I'm sure it's something simple - it always is!</p>
  
  <p>Basically, I have a drop down menu, with some options. I want it to go to a web page when the third option, plumber, is selected. When any of the others are clicked, nothing should happen.</p>
  
  <p>My code so far is:</p>
  
  <pre><code>&lt;select id = 'search'&gt;
  &lt;option value="1"&gt;Carpenter&lt;/option&gt;
  &lt;option value="2"&gt;Electrician&lt;/option&gt;
  &lt;option value="3"&gt;Plumber&lt;/option&gt;
  &lt;option value="4"&gt;Tiler&lt;/option&gt;
  &lt;option value="5"&gt;Boiler Installation&lt;/option&gt;
  
  &lt;/select&gt;
  </code></pre>
  
  <p>Go</p>
  
  <p>And my javascript is:</p>
  
  <pre><code>&lt;script&gt;
  function go_button {
  if (search.value=="3") {
  location="search_results.htm"
  }
  }
  
  &lt;/script&gt;​​​​​​​
  </code></pre>
  
  <p>But it's not working. Could someone tell me what's wrong?</p>
  
  <p>Thanks.</p>
  
  <p>C.</p>