I'm having a problem where I can't access variables of the main class
from callbacks.  It seems like I should have to use a keyword like
parent or something, but that didn't work.  Any thoughts on this?

//Sample Code
var Controller = Class.create({
  initialize: function() {
    //This variable is the problem
    this.busy = true;
    new Ajax.Request(this.AJAX_SUBMIT_PAGE,
      parameters: params,
      onSuccess: this.HandleResponse

  HandleResponse: function(transport){
    //Returns undefined

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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to