Hi,

The request and transport objects are available as a property of the
Ajax.Response object (the one passed to your parameters), as described
here: http://prototypejs.org/api/ajax/response

Best,

Tobie


On Jan 26, 9:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using ajax.request(...) and would like in the onSuccess function
> to do some logic based on the parameters I sent in the request (think
> about a field name to be validated and I would like th update it's div
> using name convention).
>
> How can i have acess to it?
>
> In dojo you could add it to the request as an additional option:
>
> FieldName: field.name,
>
> and then get it using:
>
> options.fieldName
>
> Is there anything in prototype?
>
> Cheers,
>
> Shy.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to