On Mar 11, 11:21 am, david <[email protected]> wrote:

> btw, the initialisation of the Ajax.update is strange, it should be:
> new Ajax.Updater(container, url, {options})
>
> and for you the container parameter is {success: 'placeholder'} ??
>
> shouldn't it be: var myAjax = new Ajax.Updater( 'placeholder', url,
> {method:'get', onFailure: reportError, evalScripts: true});
>
That bit is all right (though a bit pointless): as an alternative to
an element, Ajax.Updater will accept an object with keys 'success' and
'failure'.

But I could not understand at all what Kevin was trying to do.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to