submit form on text enter jquery code example
Example: jquery submit form on enter
//jQuery submit form when Enter key is pressed
$("#myInputID").keypress(function (e) {
if (e.which == 13) {
$("#myFormID").submit();
return false;
}
});