/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("form").bind("keypress", function(e) { if (e.keyCode == 13) { return false; } });
$("form").bind("keypress", function(e) { if (e.keyCode == 13) { return false; } });