I\'m trying to do a function if enter is pressed while on specific input.
What I\'m I doing wrong?
$(document).keyup(function (e) { if ($(\".inpu
It may be too late to answer this question. But the following code simply prevents the enter key. Just copy and paste should work.