I would like to detect whether the user has pressed Enter using jQuery.
How is this possible? Does it require a plugin?
EDIT: It looks like I need
I think the simplest method would be using vanilla javacript:
document.onkeyup = function(event) { if (event.key === 13){ alert("enter was pressed"); } }