Technology

Monitoring ajax call response

Recently I have faced a problem of monitoring all the ajax calls. Based on the response from server I have to perform some task depending on the contents of response. If the html response contains some text input field, the first text input field should be automatically focused otherwise leave the response as it is. Here is the...

by Bhagwat Kumar
Tag: Ajax
04-Mar-2010

Technology

Ajax Request Progress Indicator

In my current project, I used ajax to fetch data from the server to provide experience like Desktop Application. I wanted to automatically show an indicator when an AJAX request is ongoing, and hide it when there is no such request. So I found the following solution for both the Prototype library and the JQuery library. Make sure the...

by Bhagwat Kumar
Tag: Ajax
12-Oct-2009