Wednesday, January 25, 2012

event.which == 13

$(".submitButton").keydown(function (event) {
   if (event.which == 13) {
      window.location = "/program/Edit?id=@Model.Program.Id";
   }
});

No comments:

Post a Comment