Not going to get all high-and-might usability police or anything ...
but I hope there's a good reason for this :)
On Sep 4, 2009, at 2:10 PM, Aaron Newton wrote:
$(myform).addEvent('submit', function(e) {
if (e.key == "enter") return false;
});
2009/9/4 Fábio M. Costa <[email protected]>
use a input with type="button" instead of a type="submit".
Not sure if it works.
--
Fábio Miranda Costa
Solucione Sistemas
Front-End Engineer
http://meiocodigo.com
On Fri, Sep 4, 2009 at 4:30 PM, DeMx <[email protected]> wrote:
How to disable form submit on press enter?