«

»

Dec 02

The “A” stands for Asynchronous

So, I have a piece of code which goes out and updates a list.  I’m using Ajax.Updater from Prototype.js, to get data back from the server. In my javascript, however, I’m immediately after kicking off the Ajax.Updater, doing processing based on the results from the update. And they’re out of sync, of course.

It just so happens that Ajax.Updater is not recognizing onSuccess. So I have to rewrite — not a big deal, more amused with myself for forgetting the ‘A’.

So, I need to use Ajax.Request.

Leave a Reply

%d bloggers like this: