title: iPad HTML Focus
body: <p>I have an issue with focusing a text field on the iPad. Where I use:</p>
  
  <pre><code>$(document).bind("click",function(event) {
      alert('click');
      focusTextArea();
  });
  </code></pre>
  
  <p>The focus is set to the text area, and a keyboard appears. However when called with touchend, <code>focusTextArea</code> is not called and the keyboard is not made visible. My <code>focusTextArea</code> function is:</p>
  
  <pre><code>function focusTextArea() {
      $('#textArea').focus();
  }
  </code></pre>
  
  <p>Does anybody know why this occurs, and how I might be able to get this to work?</p>
  
  <p>TIA,</p>
  
  <p>Adam</p>