Difference: jQuery is a javascript encapsulated code library, which encapsulates some commonly used functions, which belongs to the category of javascript; while ajax is a collection of three technologies: xmlhttprequest, js, and xml, which belongs to the technical category.
The operating environment of this tutorial: windows7 system, jquery3.5&&ajax2.0 version, Dell G3 computer.
The difference between ajax and jquery:
jQuery is a javascript encapsulated code library. It encapsulates some functions we often use. It belongs to the category of javascript.
And ajax belongs to a collection of centralized technologies. It is generally a collection of three technologies: xmlhttprequest, javascript, and xml. It belongs to the technical category.
jquery is based on the original javascript and is lightweight to improve the efficiency of javascript development. The library can be understood as a wrapper for the original javascript
ajax is a new asynchronous loading technology in recent years that complements the original javascript technology and is a branch of javascript
So jquery and ajax There is no comparison. jquery also has its own ajax framework, such as $.ajax();$.post(), etc.
For more programming-related knowledge, please visit: Programming Teaching! !
The above is the detailed content of What is the difference between ajax and jquery. For more information, please follow other related articles on the PHP Chinese website!