AJAX requests should use an HTTP GET request when retrieving data where the data will not change for a given request URL. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idem potency recommendations and is highly recommended for a consistent web application architecture.
0 Comments
XMLHttpRequest
IE supports activex control
Remaining all browsers support Asychronus data transfer AJAX is Asyncrynous JavaScript and XML toghather they make it possible to make a JavaScript function call to your server and get the response. They use XMLHttpRequest and XMLHttpResponse opbeject.
Dojo is an open source JavaScript library which provides you lots of custom components like calendar datagrid scroller etc it provides some datastructure mode like arraylist and collection and it also provides some advance API’s like API to make AJAX calls. 0: request not initialized
1: server connection established 2: request received 3: processing request 4: request finished and response is ready |