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