a similar problem appeared here: 3380458 :
When trying to select focus using the following jquery it does not work in webkit:
$('#out').focus(function(){
$('#out').select();
});
Effectively Webkit [Chrome / Safafi] does not highlight all the text in the Focus field. This is a known bug with a workaround as shown below. THIS preset workaround using jquery works when focus happens with the mouse:
$('#out').focus(function () {
$('#out').select().mouseup(function (e) {
e.preventDefault();
$(this).unbind("mouseup");
});
});
Problem: This workaround does not work when the field is focused by pressing the tab key (when the field before it is in focus). The cursor appears at the beginning of the field and no text is selected. I have tried several things but cannot handle this workaround.
Thanks a lot - James