Yes, it's like you said.. it worked multiple times before so why not this
time. I would not know the solution either without seeing the code because
normally it just works.
On Friday, March 30, 2012 7:25:34 PM UTC+2, DataShuttle wrote:
>
> Thanks for the reply Rolf,
>
> I didn't fiddle it due to it being so simple. Geez. I'll do it and see if
> anything obvious shows up.
>
> Thanks again.
>
> On Friday, March 30, 2012 9:58:46 AM UTC-7, Rolf Langenhuijzen wrote:
>>
>> 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
>>>
>>