I was wrong to copy the code, is this: $ (function () { $ ("form"). bind ("keypress", function (event) { if (event.keyCode == 13) { $ ('form'). submit () } }); });
But the problem is not there. On 10 abr, 03:05, pbreit <pbreitenb...@gmail.com> wrote: > That code snippet is missing a }.