title: iPad, JavaScript character codes, and shiftKey
body: <p>Say I have a web application that calls the following jQuery every time a user presses a key in a textarea with an ID of "txt":</p>
  
  <pre><code>$('#txt').keydown(function(e) {
  console.log(e.which); // shows the keyCode
  console.log(e.shiftKey);
  }
  </code></pre>
  
  <p>On a desktop browser, for characters like <code>(</code> and <code>9</code>, I can distinguish between the two by checking to see if the shift key is held down (with e.shiftKey). However, in Safari for iPad, there is no shift key required to type those characters. So, for example, pressing both <code>(</code> and <code>9</code> on the iPad's keyboard logs "57" in the console for the keyCode. The value logged for e.shiftKey always appears to be false. </p>
  
  <p>How might I be able to reliably distinguish between typing shifted characters on the iPad? Thanks in advance!</p>