What are the differences between AJAX and JavaScript?
2431
02-Sep-2014
Sumit Kesarwani
02-Sep-2014The differences between AJAX and JavaScript are given as follows:
AJAX sends request to the server and does not wait for the response. It performs other operations on the page during that time. JavaScript make a request to the server and waits for response.
AJAX does not require the page to refresh for downloading the whole page while JavaScript manages and controls a Web page after being downloaded.
AJAX minimizes the overload on the server since the script needs to request once while JavaScript posts a request that updates the script every time.