from within a class, you can use class.constructor to refer to the
class rather than an instance of it. so you can have the equivalent of
a "static" array or something on the class.

initialize: function()

register: function()
  this.constructor.instances.push(this.detailsYouWantToSave); = this.constructor.instances.length;

or something like that

On Sep 24, 4:43 am, emwebdev <[EMAIL PROTECTED]> wrote:
> Hi there
> I need a way to uniquely identify a particular AJAX request / response
> cycle through some kind of shared unique ID or similar.
> The reason for this is that I have an AJAX "status" display on a page
> which keeps a history of AJAX requests and their success / failure
> results, but at the moment I am assuming that so long as the URL is
> the same, then the response must be related. This works OK, but if
> there are two AJAX requests to the same URL everything goes out the
> window.
> I thought it must be possible to extend the Prototype Ajax object
> somehow to achieve this, but I'm having no luck.
> Can anyone suggest the best way to make this work?
> Cheers,
> Erin
You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to