Many time we face issues while working on Asynchronous javascript. We are not sure what request is posted and what respones is obtained.
How to Debug AJAX Requests. Is there a easy way to do that.
In Visual Studio, if you start your application for debugging (by pressing F5 or using the Start Debugging command in the Debug menu), the debugger is attached automatically. You can also attach the Visual Studio debugger to Internet Explorer when the application is already running.
Ajax requests do just that. With this, all codes following this one will execute immediately; you will not have to wait until the function returns. This way, your user would not have to wait for findItem() to return a result. Of course, because you still need an answer, you would have to include a callback.
The easiest way to see the request and response is as follows:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With