select()で選択状態にできるが、chromeなどのWebkitだとうまく機能しないので
setTimeout(function(){ $("#paste").select() }, 0);
とイベントのタイミングをズラすと良い。 jQueryでフォーカスを得た場合に全選択にする機能をバインドする場合は
$(document)
.on(
"focus",
"#target",
function () {
setTimeout(function(){ $("#target").select() }, 0);
}
)
;