@alex: You can pass a string, that's still supported.
@OP: Again, try step #3 from here: http://proto-scripty.wikidot.com/faq#xyzprob ...and then if it still doesn't work, post the complete code. -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Jun 2, 8:36 pm, "Alex McAuley" <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
