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