The difference between jquery ajax: 1. jQuery is a framework of javascript, and ajax is an application direction of javascript; 2. jQuery is a class and function written in JavaScript, and ajax is a technology to avoid page refresh.
The difference between jquery and ajax
Recommended: "jquery video tutorial" "ajax video tutorial》
jQuery is a framework of javascript, that is, someone has done a lot of functions, and you can just use it. For example, implementing Ajax. In pure JavaScript, you may need many functions to create new objects, capture events, handle exceptions, etc. But with jQuery, you only need to call a method according to the rules. Of course, jQuery has many other functions, see the jquery manual for details.
ajax is an application direction of javascript. It mainly accesses server-side data (usually XML data or Json data) asynchronously through javascript to update page content or submit information without refreshing. As mentioned above, if you use jquery, it will be easy to implement ajax.
-------------------------------------------------- ----------------------------------
ajax is generally used where data is updated without refreshing the page. .
jquery is a collection of javascript, which can be understood as classes and functions written in JavaScript.
ajax is also written in javascript. By passing the value to the background for processing and then returning the data and displaying it, this process eliminates the need to refresh the page.
-------------------------------------------------- ------------------------------------
jquery is a javascript framework.
ajax is a technology that avoids page refresh. It essentially interacts with the background language through javascript.
There is an implementation of ajax in jquery. And it is very convenient to use.
The above is the detailed content of What is the difference between jquery ajax. For more information, please follow other related articles on the PHP Chinese website!