How to detect pressing Enter on keyboard using jQuery?
Answers
Answered by
0
The “enter” key is represent by code “13”, check this ASCII charts. To check if an “enter” key is pressed inside a textbox, just bind the keypress () to the textbox. To check if an enter key is pressed on page, bind the keypress () to the jQuery $(document).
Similar questions
Science,
7 months ago
Physics,
7 months ago
Social Sciences,
7 months ago
Hindi,
1 year ago
Hindi,
1 year ago