0
1.2kviews
Describe relationship between AJAX and JavaScript.

Subject: Advanced Internet Technology

Topic: RIA and Mashup

Difficulty: Low

1 Answer
0
8views

Relationship AJAX and JavaScript:

JavaScript is an essential part of AJAX

  • AJAX sends request to the server and does not wait for the response. It performs other operations on the page during that time. Whereas, JavaScript makes a request to the server and waits for response.

  • AJAX does not require the page to refresh for downloading the whole page, whereas 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.

  • AJAX is an approach towards page reloading, while JavaScript is a way to incorporate content on the webpage.

  • AJAX allows the coder to send a request for data asynchronously in order to load new data without changing the web page.

  • JavaScript allows the creation of dynamic webpages by providing a new level of interactivity.

  • AJAX supports the server side scripting language, whereas JavaScript supports the client side scripting language.

  • AJAX can load a webpage after it has been loaded for the first time. Whereas, JavaScript cannot reload the page after it is loaded. AJAX cannot be used to install a Trojan in the computer, while JavaScript can be used.

Please log in to add an answer.