Never mind. The form is created dynamically using the new Element() process
and i was injecting the elements outside the form. My bad

-----Original Message-----
From: ken [mailto:[email protected]] 
Sent: Sunday, 17 October 2010 3:09 PM
To: MooTools Users
Subject: [Moo] Re: Detecting a user pressing the enter key

Maybe what you're experiencing is a bug in IE which only shows up if
there is exactly one input[type=text] field in the form. This is
especially true for search forms. Try adding another input[type=text]
that is invisible.

On Oct 17, 7:38 am, "Steve Onnis" <[email protected]> wrote:
> Its not submitting for some reason so i am trying to make it submit
>
>
>
>
>
>
>
> -----Original Message-----
> From: Ryan Florence [mailto:[email protected]]
> Sent: Sunday, 17 October 2010 6:06 AM
> To: [email protected]
> Subject: Re: [Moo] Detecting a user pressing the enter key
>
> Usability police!  I just hope your not breaking user expectations here..
> When I press enter in a text field and the form doesn't submit, I get
> grumpy.
>
> Sent from my iPhone
>
> On Oct 16, 2010, at 11:35 AM, Tim Wienk <[email protected]> wrote:
>
> > Works fine in a text-input as well, as long as you prevent the default
> > action of the event (which would be to submit the form):
>
> >http://www.jsfiddle.net/DEdb4/1/
>
> > Also note you don't have to check by keycode, `event.key` will be set
> > to something more human readable.
>
> =======
> Email scanned by PC Tools - No viruses or spyware found.
> (Email Guard: 7.0.0.21, Virus/Spyware Database:
6.16090)http://www.pctools.com/
> =======
>
> =======
> Email scanned by PC Tools - No viruses or spyware found.
> (Email Guard: 7.0.0.21, Virus/Spyware Database:
6.16090)http://www.pctools.com/
> =======





=======
Email scanned by PC Tools - No viruses or spyware found.
(Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16090)
http://www.pctools.com/
=======





=======
Email scanned by PC Tools - No viruses or spyware found.
(Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16090)
http://www.pctools.com/
=======

Reply via email to