Created
September 10, 2018 11:37
-
-
Save shohag-cse-knu/88ec5ae0f44d4365c9725b5ed28843d6 to your computer and use it in GitHub Desktop.
Event call when enter key is pressed over the page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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