Ah, problem solved. FYI:

$("#to").keypress(function(e){
    return !(e.keyCode == 13);
});

where #to is the ID of a form [EMAIL PROTECTED] field, easy!

2006/11/16, Roberto Ortelli <[EMAIL PROTECTED]>:
> Hi all,
> all is in the title. I've found this resource but it seems not working in 
> FF2.0:
> http://www.cs.tut.fi/~jkorpela/forms/enter.html
>
> Thanks
>
> --
> Roberto Ortelli
> http://weblogger.ch
>


-- 
Roberto Ortelli
http://weblogger.ch

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to