title: Selecting text on focus using jQuery not working in iPhone iPad Browsers
body: <p>We are developing Web-App for Mobile browsers, we would like text of any input box to get selected whenever input-box get focus. Below answer fixes the issue for Desktop chrome/safari browser. Below solution works fine on Android browser, but not on iPhone/iPad browsers, any solution..</p>
  
  <pre><code>$("#souper_fancy").focus(function() { $(this).select() });
  
  $("#souper_fancy").mouseup(function(e){
          e.preventDefault();
  });
  </code></pre>
  
  <p>Ref:-</p>
  
  <p><a href="https://stackoverflow.com/questions/1269722/selecting-text-on-focus-using-jquery-not-working-in-safari-and-chrome">Selecting text on focus using jQuery not working in Safari and Chrome</a></p>