Skip to content

Instantly share code, notes, and snippets.

Created July 11, 2012 18:11
Show Gist options
  • Save anonymous/3092100 to your computer and use it in GitHub Desktop.
Save anonymous/3092100 to your computer and use it in GitHub Desktop.
$(document).ready(function(){
$('.jump-to').focus().select();
});
<form id="edit-jump-to">
<input type="text" name="jump_to" class="jump-to">
<input type="submit" value="jump down">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment