Hey all. I'm using this code to try and select all of the text in the field when a user focuses on the field. What happens is, it selects all for a second, then its unselected and the typing cursor is left where I clicked...
$("input[type=text]").focus(function() {
$(this).select();
});
I want it all to remain selected. Any ideas?
Many Thanks