Hey everybody, my problem is the following: i have a lot of javascript code that should be executed after an ajax request:
sendRequest: function(url, method, [...]){ new Ajax.Request (url, { method: method, requestHeaders: {Accept: 'application/json'}, onSuccess: this.interpretResponse.bind(this), onFailure: this.handleRequestFailure.bind(this) }); }, interpretResponse: function(response){ //a lot of js code //alert(undefinedVariable); } Now, everything that sits behind the interpretResponse function isn't correctly checked either by Firebug nor by Firefox. Let's say we put alert(something) in it and 'something' is not defined - no error is shown. We tried the same situation with pure javascript and it wasn't a problem. Any ideas? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---