login_form is the form ID name. Here we just implement the carriage return form submission
$("#login_form").keypress(function(e) {
if (e.which == 13) {
$(" #login_form").submit();
}
});
$(window).keydown(function (e) {
if (e.which == 13) {
return false;
}
})