title: .select() function does not work on iOS device
body: <p>I would like to make an input box that, when the user selects it, all the text in the box is selected. So I decided to use the <code>select()</code> function, which is what I would like to achieve. However, it works as I expected on desktop browsers, but not on Safari on the iPad. How to fix the problem? Thanks.</p>
  
  <pre><code>$('#input').click(function(e){
        $(this).select();
  });
  </code></pre>