How to unselect a field after a second click after it has been selected on the first click
<p>i got a code here that i need to modify, the thing is this code works well for the first click,as the entire field becomes highlighted however this is a problem for users who want to manually type the url after the "http://" (the problem is the http:// remains highlighted, so the user replaces that with whatever he enters in the field) instead of pasting the entire link. Thanks</p>

<pre><code>function SelectURL(field)
{

    field.focus();
    field.select(); 
}


 &lt;input name="URL" type="text" value="http://" maxlength="255" OnClick="SelectURL(this.form.URL)"/&gt;
</code></pre>
