DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check if enter is pressed javascript
$('#usersearch').keydown(function(e){ if(e.keyCode === 13){ alert("Enter was pressed "); } });
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#enter
#pressed
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit