Forum: Ruby Ajax/Prototype onComplete fires before response returned in

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
239cc9f23f060e873e8b3d207adea57b?d=identicon&s=25 ext237 (Guest)
on 2007-02-14 19:45
(Received via mailing list)
Simple ajax call seems to have some issues in Firefox.  The
"onComplete:" is
called BEFORE the response is returned by the call.  Is there a coding
or a work around?

var ajax = new Ajax.Request( url, {method: 'post', parameters: params,
onComplete: evalInfo });

function evalInfo( request )
 // do stuff with request

Should I have a timer that checks the request state before exec the

This topic is locked and can not be replied to.