onSuccess:function(response)..... response in this case *receives* the XHR object after which you can query the various methods/functions in it that are returned from the Ajax.Request eg response.responseText, response.responseJSON etc By the way "response" is just a variable name
Hope this helped I stand to be corrected though if im in any way wrong... -Jason On Tue, Sep 30, 2008 at 2:27 AM, Bobby.D <[EMAIL PROTECTED]> wrote: > > Ok, I've fixed several of the problems, but something I don't > understand: > > onSuccess: function(response) <-- Where does "response" come from??? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
