Difference between JavaScript and AJAX

Write basic difference between JavaScript and AJAX ?

E

Expert

Verified

The difference between JavaScript and AJAX are shown below:

1. AJAX does not need the page to refresh for downloading complete page whereas JavaScript administer and controls the Web page after being downloaded.

2. AJAX minimizes overload on server since script requires to request once whereas JavaScript posts request which updates script every time.

3. AJAX sends request to server and does not wait for response. It executes other operations on a page at that time. JavaScript make request to a server and waits for the response.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.