Skip to content

Instantly share code, notes, and snippets.

@driesd
Created September 19, 2013 12:43
Show Gist options
  • Save driesd/6622877 to your computer and use it in GitHub Desktop.
Save driesd/6622877 to your computer and use it in GitHub Desktop.
Select the input field text on click
$('body').delegate('input', 'click', function () {
$(this).select();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment