On Sep 30, 12: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???
>
"When used on individual instances, all callbacks (except onException)
are invoked with two parameters: the XMLHttpRequest object and the
result of evaluating the X-JSON response header, if any (can be
null)." (http://prototypejs.org/api/ajax/options)
so the first argument of your callback is the XMLHttpRequest object.
Colin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---