1/**
2 * Disable the enter key from submitting the form for all forms all fields
3 */
4<script type="text/javascript">
5 jQuery(function($){
6 $("form").keypress(function(e) {
7 //Enter key
8 if (e.which == 13) {
9 return false;
10 }
11 });
12 });
13</script>
14
15
1/**
2 * Disable the enter key from submitting the form for all forms all fields
3 */
4<script type="text/javascript">
5 jQuery(function($){
6 $("form").keypress(function(e) {
7 //Enter key
8 if (e.which == 13) {
9 return false;
10 }
11 });
12 });
13</script>
14