Ajax is Asynchronous Java Script and XML. Here on sending request to the server, one needn’t wait for the response. Other operations on the page can be carried out. Hence, Asynchronous. On the other hand, Java script sends an HTTPRequest to the server and waits for the XML response.
Ajax is a part of Java Script programming. Java Script is used to manage and control a web page once downloaded. Ajax does not need to wait for the whole page to download.
Use of Ajax can reduce connections to the server since the script has to be requested once.
Explain in brief abo XMLHttpRequest object.
abo XMLHttpRequest object - XMLHttpRequest is an object used for data transfer with server and client’s browser. This object allows the data transfer without reloading the page.....
You may like