title: Using jQuery to see if a drop down menu select has changed
body: <p>I would like to see if a particular drop down menu item has been selected or deselected.</p>
  
  <p>I have tried</p>
  
  <pre><code>jQuery("#dropdownID option[value='selectionKey']").change(function() {
      if (jQuery("#dropdownID option[value='selectionKey']").attr('selected', 'selected'))
          DoSomething();
      else DoSomethingElse();
  });
  </code></pre>
  
  <p>and</p>
  
  <pre><code>jQuery("#dropdownID").change(function() {
      if (jQuery("#dropdownID option[value='selectionKey']").attr('selected', 'selected'))
          DoSomething();
      else DoSomethingElse();
  });
  </code></pre>
  
  <p>but neither block is triggered by changing the selection in the drop down menu.  That is, it never gets to the if statement.</p>