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
$(document).ready(function () { $(".input1").keyup(function (e) { if (e.keyCode == 13) { // Do something } }); });