Thanks, but to clarify, when I say capture, I didn't mean view them in Firebug, I mean that I need to deal with them in my javascript. Here's a scenario to help clarify:
I have a user entering text into a textField component and when they click on the submit button i call textField.submit() - which fires off and asynchronous request. However, there is a failure either sending or receiving the response...therefore I need to show an alert to tell the user that there is a communication problem with the server.
So, how can I capture an async request/response failure? Isn't 4.1.1 built on prototype? Would it be possible get prototype's Ajax.Base.responseIsFailure property for a specific component?
Any advice would be appreciated?
Jas
On Tue, Apr 8, 2008 at 1:47 PM, Felipe Jaekel <fkjaekel@gmail.com> wrote:
Try Firefox's Firebug extension
2008/4/8, Jason Suplizio <suplizio@gmail.com>:I need a capture when a component's asynchronous request is failing. For example, if I call component. refresh() or component.submit() and the communication/request to the server is failing, how do I detect this?
Please help, I need to find a solution asap.
Jason