This might work:

$(document).ready(function() {
        $(document).keyup(function(event) {
                if (event.keyCode == 13) {
                    $("#myForm").submit();
                }
        })
});

Reply via email to