How can I modify the below function to properly return isSuccess?
Right now it just returns null, which is expected. I want the call to
still be asynchronous, but I don't want the function to return until
isSuccess is set.

        var isSuccess;

        new Ajax.Request(url,
                    onSuccess: function(resp)


                    onFailure: function(resp)


        return isSuccess;

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to