where's the fiddle? you might even spot the bug yourself when you post the
code there (when you isolate the code and move out all the other stuff)
On Friday, March 30, 2012 5:14:43 PM UTC+2, DataShuttle wrote:
>
> Can anyone think why a form event would not be passed to an addEvent like
> this:
>
> $('myform').addEvent('submit', function(event){
>
> code...
>
> }
>
> I have added submit events to form elements many times with no problem,
> but the callback is not getting the event passed and therefore cannot be
> stopped for an ajax call.
> There must be some dumb little thing I'm overlooking.
>
> Thanks
>