title: Mobile Safari jQuery select() on focus input doesn´t work
body: <p>This problem is on iPad IOS6 in mobile Safari.</p>
  
  <p>I wan´t the text in an input to be auto selected when the user clicks the input.</p>
  
  <p>I have a solution that works in a regular browser, like Chrome:</p>
  
  <pre><code>        $(document).ready(function() {
          //Select text on focus for input
          $("input:text").focus(focustext);
      });
      function focustext() {
          var input = $(this);
          setTimeout(function() { 
              input.select();
          },100);
      }
  </code></pre>
  
  <p>But this isn´t working in Safari Mobile.</p>
  
  <p>I have read several threads about this, for example:
  <a href="https://stackoverflow.com/questions/5227691/workaround-to-webkitchrome-safari-javascript-select-on-focus-bug-when-using-t">Workaround to Webkit[Chrome/Safari] javascript select on focus bug (when using tab between fields)</a>
  <a href="https://stackoverflow.com/questions/9924506/selecting-text-on-focus-using-jquery-not-working-in-iphone-ipad-browsers">Selecting text on focus using jQuery not working in iPhone iPad Browsers</a></p>
  
  <p>I have tested suggested sollution in a simple dummy, but I can´t get any of them to work on iPad.
  <a href="http://kraner.se/customers/test.html" rel="nofollow noreferrer">http://kraner.se/customers/test.html</a></p>
  
  <p>I would like the get a working sollution for this.
  Anyone?</p>