title: Selector Panel, Javascript
body: <pre><code>    $('#select-page').bind('change', function(){
          alert('hi!');
      });
  
          &lt;select id="select-page"&gt;
            &lt;option value="hi"&gt;Page 1&lt;/option&gt;
            &lt;option value="hi2"&gt;Page 2&lt;/option&gt;
             &lt;!-- the amount of options in here varies all the time --&gt;
          &lt;/select&gt;
  </code></pre>
  
  <p>Howdy,</p>
  
  <p>I am trying to make a tabs switching-panel sort of feature except instead of tabs, I want to use a select drop down to switch between panels (divs).</p>
  
  <p>How can I accomplish this? (I am using the jQuery library).</p>
  
  <p>Have a good day</p>