title: Small bug when selecting text on focus
body: <p>i have a <code>input[type=text]</code> containing the short url for a post. i want to select the short url so users can easily copy the short url into clipboard. i used</p>
  
  <pre><code>$(".shorturl input").focus(function() {
      this.select();
  });
  </code></pre>
  
  <p>but i noticed the 1st time it works fine then the next time it will blick (i see the text selected then deselected). it seems when like it try to select a selected text and ends up deselecting? </p>
  
  <p>then to enhance this, how can i copy text to the clipboard? hopefully without flash? i see jQuery plugins to copy text but they use flash. </p>
  
  <p>my site using that is <a href="http://jiewmeng.tumblr.com" rel="nofollow noreferrer">http://jiewmeng.tumblr.com</a></p>