Ok so I have the request object. Sorry for the ignorance but how to I
get for example a parameter called "fieldName" I sent.

request.getParameter("fieldName") ???? Will this work?

Shy.

On 27 ינואר, 03:52, Tobie Langel <[EMAIL PROTECTED]> wrote:
> 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