Skip to content

Instantly share code, notes, and snippets.

@shohag-cse-knu
Created September 10, 2018 11:37
Show Gist options
  • Save shohag-cse-knu/88ec5ae0f44d4365c9725b5ed28843d6 to your computer and use it in GitHub Desktop.
Save shohag-cse-knu/88ec5ae0f44d4365c9725b5ed28843d6 to your computer and use it in GitHub Desktop.
Event call when enter key is pressed over the page
jQuery(document).keypress(function(e) {
if(e.which == 13) {
// Your necessary code here
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment