title: Link for Dropdown
body: <p>I want to select index of a combo with link.<br />
  I tried this:<br /></p>
  
  <pre><code>&lt;script&gt;
      eval(document.location.hash.substring(1));
  
      function poke(num, zat) {
          var selObj = document.getElementById('okey');
          selObj.selectedIndex = num - 1;
          var selObj = document.getElementById('nope');
          selObj.selectedIndex = zat - 1;
      }
  &lt;/script&gt;
  
  &lt;select id="okey"&gt;
      &lt;option&gt;one&lt;/option&gt;
      &lt;option&gt;two&lt;/option&gt;
      &lt;option&gt;three&lt;/option&gt;
      &lt;option&gt;four&lt;/option&gt;
      &lt;option&gt;five&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;select id="nope"&gt;
      &lt;option&gt;one&lt;/option&gt;
      &lt;option&gt;two&lt;/option&gt;
      &lt;option&gt;three&lt;/option&gt;
      &lt;option&gt;four&lt;/option&gt;
      &lt;option&gt;five&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;button onclick="eval(document.location.hash.substring(1));"&gt;okey&lt;/button&gt;
  </code></pre>
  
  <p>Button is working fine, but when i tried to load page, it show errors. </p>
  
  <p>Error is like that: 
  <code>Uncaught TypeError: Cannot set property 'selectedIndex' of null</code> <br />
  How can i do? The code is same. But load is not working, button is working. Huh?</p>