a very simple FORM and JS:
$('#gg').submit(function() {
alert('s');
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<form id="gg" method="post">
<input name="languageId" type="text">
<input name="languageName" type="text">
</form>
.submit wont be triggered by pressing enter on an input somehow. But if I have one input, it does work!