http://www.mootools.net/docs/core/Request/Request
Checkout the event section and look at the signature. It doesn't get a first param. You are probably looking for onSuccess --Perrin On Wed, Mar 17, 2010 at 9:49 PM, Sitthykun LY <[email protected]>wrote: > Hi all, > > for now I have a problem with Request > new Request({ > method: 'get', > //url: this.urlChat, > url: ' > http://davidwalsh.name/dw-content/moo-basic-ajax-example.php', > data: {'do' : 1}, > onRequest: function() { > > }.bind(this), > onComplete: function(response) { > alert(response); > }.bind(this) > }).send(this); > > the result: alert(response) = undefined > > Any help? > > -- > Best regards, > Sitthykun LY >
