Did you read the las paragraph of my reply ?...
Check if paramters expects an object or a variable, i think u will find it
expects an Object
parameters : {
foo: 'BAR'
}
----- Original Message -----
From: <[email protected]>
To: "Prototype & script.aculo.us" <[email protected]>
Sent: Tuesday, June 02, 2009 8:29 PM
Subject: [Proto-Scripty] Re: Problem with Ajax.Updater...
>
> Hello Alex,
> no I didnt have a trailing comma after the closing bracket, because
> there is no closing bracket there!
>
> syntax:
> Ajax.Updater(container, url[, options])
>
> quoting my line of code:
>
> var myAjax = new Ajax.Updater
> (target,
> url,
> { /* opening bracket for options...
> method: 'post',
> parameters: pars, /* notice here there is no closing
> bracket! ;) */
> onComplete:function(){
> alert ('ajax completed!');
> } /* end of anonymous function*/
> } /* closing bracket of options
> ); // end of Ajax.Updater line
>
> By the way, I tried this code on a totally different site/totally
> different page and it still didn't work in IE. Oh, I hate this browser
> so much!
>
> thank you,
> Chris
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---