Created
August 17, 2016 01:11
-
-
Save JohnBaek/dfe442715fd62a96050f58f879f0cc1f to your computer and use it in GitHub Desktop.
JS#EnterKey_Detecting
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 type="text" onKeyDown="onKeyDown();"> | |
// in JavaScript Code | |
function onKeyDown() | |
{ | |
if(event.keyCode == 13) | |
{ | |
//TODO : 실행시킬 코드 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment