Google News
logo
Ajax - Interview Questions
What are the differences between AJAX and JavaScript ?
The differences between AJAX and JavaScript are given as follows :

AJAX sends request to the server and will not wait for the response.
It will allow other operations on the page before it get response of previous request; whereas, JavaScript make a request to the server, will waits for response and 

will not allow other operation on the page during that time.
In AJAX, the page will not get refreshed for downloading the whole page while JavaScript manages and controls a Web page after being downloaded.
By using AJAX we can minimize the overload on the server because the script needs to request once while JavaScript posts the request that updates the script each time.
Advertisement