Hi Richard, I may be misunderstanding what you are asking, but the documentation doesn't mention a second parameter. Rather, it says the headerJSON is a property on the first parameter passed into your onSuccess/onFailure methods.
Hope that helps! Allen Madsen http://www.allenmadsen.com On Wed, Jun 2, 2010 at 11:15 AM, Richard Quadling <rquadl...@gmail.com> wrote: > Hi. > > I'm pretty sure I'm missing it, but where is the documentation about > the second parameter to the AJAX callbacks please? > > The second parameter contains the headerJSON value (or null). > > Has this facility been dropped? > > http://api.prototypejs.org/ajax/ajax/request/ (scroll down to > Evaluating JSON headers) doesn't mention it. > > It is mentioned on http://api.prototypejs.org/ajax/ajax/responders > > So, for example, what happens for onSuccess() ? > > As far as I can tell, it works just the same. > > Regards, > > Richard. > > -- > ----- > Richard Quadling > "Standing on the shoulders of some very clever giants!" > EE : http://www.experts-exchange.com/M_248814.html > EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp > Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 > ZOPA : http://uk.zopa.com/member/RQuadling > > -- > 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 > prototype-core-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/prototype-core?hl=en -- 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 prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en