JQuery is a very flexible script library. The JQuery library provides a common abstraction layer for Web script programming. It is suitable for almost any of our script programming. It makes us use Javascript more convenient and brief, which greatly improves our It improves work efficiency and reduces our coding amount. Its main functions are as follows.
1. Get any element on the page.
2. Modify the appearance of the page and adjust the style of the page.
3. Dynamically change the content on the page.
4. Dynamically bind control events.
5. Add animation effects to the page.
6. Ajax refreshless technology.
7. Extension plug-in development.
For me personally, among the many script libraries, I still prefer JQuery, because it can get rid of the cumbersomeness of using JavaScript, and it is not as easy to expand and use as other script libraries, just like me Although the ExtJs script framework I have used is very powerful, it is laborious to use and not easy to expand, which hinders my own performance to some extent. I think the advantages of JQuery are:
1. Taking advantage of the advantages of CSS, Make it easier for us to choose.
2. It handles the compatibility of multiple browsers and uses the best cross-browser solution.
3. Always oriented to collections, there is no need to loop through each one.
4. Support expansion (I think this is the most important).
5. Group multiple operations into one line.
Sixth, it is completely free. When using it, you only need to import a JS file of more than 20 KB to use, which is very convenient.
This article is purely personal opinion, and interested friends are welcome to participate in the discussion and research. To be continued.