Computer Science, asked by ashadsheikh5322, 1 year ago

How to detect pressing Enter on keyboard using jQuery?

Answers

Answered by omegads04
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