Hi Marshall,
thank you _very_ much, it works like a charme!
Best regards
Arne
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Marshall Salinger
Sent: Tuesday, June 12, 2007 6:05 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Possible to intercept
This should do the trick:
$("yourSelector").keydown(function(e){
if (e.keyCode == 13) {
$("yourSelector").submit();
}
});
-Marshall
Arne-Kolja Bachstein wrote:
Hi there,
is it possible to bind a
keydown event to
intercept the enter/return key? I have a form that i
2 matches
Mail list logo