Posted By

shahways on 01/05/09


Tagged

javascript forms jquery submit


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

LeeRJohnson
bryandease
Hollow
kikuchiyosesa
matylla
czachor


Disable enter via jQuery


 / Published in: JavaScript
 

  1. $("#form").keypress(function(e) {
  2. if (e.which == 13) {
  3. return false;
  4. }
  5. });

Report this snippet  

You need to login to post a comment.