I have the following script to auto select the text in a input field
on focus.
$("[EMAIL PROTECTED]'text']").focus(function(){
    if($(this).val().length > 0){
        this.select();
    }
});

On blur is there a way in can unselect the selected text?

Reply via email to