title: How to fire onchange event of combobox?
body: <p>I have a combobox, How to fire onchange event of the combobox and get a selected value from it.</p>
  
  <p>Here is the Code what i did till now :</p>
  
  <pre><code>&lt;select name="g1" id="select_g1"&gt;
          &lt;option value="one"&gt;one&lt;/option&gt;
          &lt;option value="two"&gt;two&lt;/option&gt;
          &lt;option value="three"&gt;three&lt;/option&gt;
      &lt;/select&gt;
  
      &lt;script&gt;
          $(document).ready(function(){
  
              $("select_g1").change(function(){
                  alert("Handled"); // alert is not fired up ...
              });
          });
  
      &lt;/script&gt;
  </code></pre>
  
  <p><strong>EDIT :</strong> What if i have more than one combobox :</p>
  
  <pre><code>&lt;select name="g2"&gt;
  &lt;option value="one"&gt;one&lt;/option&gt;
  &lt;option value="two"&gt;two&lt;/option&gt;
  &lt;option value="three"&gt;three&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p><strong>Also disable the value selected in combobox g1 in combobox g2.</strong>    </p>
  
  <p>Could anyone please tell me what is wrong with the code.</p>