Under WebKit and Firefox, the text in a input\'s placeholder sticks around on focus—it doesn\'t disappear until input.val
input
placeholder
focus
input.val
The trick is to call focus() and select() both on the input element.
$("#elementId" ).focus(); $("#elementId" ).select();