Select text on focus
<p>I'm trying to select the text in a readonly input box, using jQuery, this is what I have:</p>

<pre><code>    $('input').focus(function(){
        $(this).select();
    })
</code></pre>

<p>When I click on the input however, it quickly selects all the text, it "blinks", then it goes back to normal state of being unselected.</p>

<p>Any ideas around this?</p>
