$(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?
>
>
>

Reply via email to