I think it was an issue not stopping the click event on the link.  If you
stop it there it wont propagate as fireEvent() just calls the event, but
does not execute the event so with the submit in this case it would have
just ran the function attached to the submit event but not actually call
submit() on the form which would have actually submitted it.

This can be seen at http://mooshell.net/PpM56/  

You will see here there is no stop() being called in the form submit because
there is no event being passed in through fireEvent() 

-----Original Message-----
From: H13 [mailto:[email protected]] 
Sent: Thursday, 10 September 2009 12:40 AM
To: MooTools Users
Subject: [Moo] Re: Submit()


Thank you Sandford, the solution here:
http://mooshell.net/yxL3F/1

is what I looked for, so now it works great.

The problem with fireEvent which I had, was solved by this:

!event || event.stop();

Thank you to all.

On 9 zář, 09:53, Thierry bela nanga <[email protected]> wrote:
> In the case you missed it,
> $(form).submit() in mootools does not replace the native form.submit() and
> then it just send the form ...
>
> maybe you did not understand that point[?][?]
>
> On Wed, Sep 9, 2009 at 1:07 AM, Sanford Whiteman <
>
> [email protected]> wrote:
>
> > > Between all the mooshells I think we've covered every possible way to
> > > submit a form aside from hand delivering it.
>
> > :)))
>
> > -- Sandy
>
> --http://tbela99.blogspot.com/
>
> fax : (+33) 08 26 51 94 51
>
>  364.gif
> < 1KZobrazitStáhnout
>
>  330.gif
> < 1KZobrazitStáhnout

Reply via email to