title: jQuery .click not working
body: <p>We have a problem in IE with some users where the onclick event isn't working:</p>
  
  <pre><code>&lt;button type="button" id="btnSomething" name="btnSomething" onClick="myFunction();"&gt;Continue&lt;/button&gt;
  </code></pre>
  
  <p>After digging around the net, people suggested using jQuery's .click event for cross browser compatibility.</p>
  
  <p>So I've tried the following:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;$('#btnSomething').click(function(){myFunction();});&lt;/script&gt;
  </code></pre>
  
  <p>This doesn't work, I've tried adding in alert('test'); but that doesnt get called either. If it makes any difference, I didnt remove the onClick="myFunction();" from the button element, just adding the above JS directly after the button in the HTML file.</p>