How ajax works? Difference between angular js and jquery (original) (raw)

Last Updated : 12 Dec, 2021

Ajax: Ajax communicates with the server by using XMLHttpRequest Object. User send request from User Interface and JavaScript call goes to the XMLHttpRequest Object after that XMLHttp request is sent to the XMLHttpRequest Object. At that time server interacts with the database using php, servlet, ASP.net etc. The data is retrieved then the server sends data in the form of XML or Jason data to the XMLHttpRequest Callback function. Then HTML and CSS displayed the Data on the browser.

Note: The flow chart displays the process to display data on the browser.

AngularJS features: There are many features of AngularJS which are listed below:

jQuery features: There are many features of jQuery which are listed below:

Difference between AngularJS and jQuery: There is so many differences in between AngularJs and jQuery which are listed below: