title: jquery - right click not working
body: <p>I Have the following test Code:</p>
  
  <pre><code>&lt;script language="JavaScript" src="..\Generic\JAVASCRIPT\jQuery-min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script language="JavaScript" src="..\Generic\JAVASCRIPT\jQuery-ui-min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script language="JavaScript"&gt;
  $(document).ready(function()
  {
      $('#SG1').click(function(event) {
      switch (event.which) {
          case 1:
              alert('Left Mouse button pressed.');
              break;
          case 2:
              alert('Middle Mouse button pressed.');
              break;
          case 3:
              alert('Right Mouse button pressed.');
              break;
          default:
              alert('You have a strange Mouse!');
      }
  })  
  })
  
  &lt;/script&gt;
  
  &lt;p class="submit"&gt;
      &lt;input id="SG1" type="submit" name="submit" value="SG1"&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>If I LEFT click, it works fine (event 1).</p>
  
  <p>If I MIDDLE click, it works fine (event 2).</p>
  
  <p>If I RIGHT click, nothing happens (well, I get the usual menu come up, but no alert)</p>
  
  <p>If I change the action from <code>click</code> to <code>mousedown</code> it works as expected. Why wont it work with <code>click</code>? Am I missing something obvious?</p>