Hi all. I'm writing some kind of filter that i want passby my all AJAX request, 
and I stuck. I create object and pass him to Ajax Responders
like this:
var myGlobalHandlers = {
    
    onCreate: function(){
        Element.show('loading');
    },
    onComplete: function(request) { 
        alert(request.responseText);
    }
};

Ajax.Responders.register(myGlobalHandlers)
and when I made ajax call alert show me always undefined. Call was made both by 
Ajax.Response and Ajax.Updater. But my Firefox plugin xmlHttpRequest shows me 
that I get Ajax response and show me content of this response(and of course I 
seethath part of the site loaded properly). So what I'm doing wrong? How can i 
check content of the response for a specifed string or hash?
thanks  for any help
Gregor

----------------------------------------------------
Oferty na Lato 2006 - Rabaty do 22% - Rezerwuj już dzisiaj, kliknij:
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Flat06.html&sid=756


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to