Last active
February 6, 2018 20:30
-
-
Save rsmelo92/29934645b6564c64ccb85cbe6b2743c7 to your computer and use it in GitHub Desktop.
Enter Key Event jquery
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
$(‘input’).on(‘keypress’, (event)=> { | |
if(event.which === 13){ | |
//Do Something | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment