Small size, easy to use (WriteLess, DoMore, eat much less dry, and many large companies are currently supporting JQuery, such as Microsoft, Microsoft inherited JQuery in vs2010
JQuery Introduction
Disadvantages of common JavaScript: different controls are operated in different ways, and different browsers are different. It is very troublesome to write cross-browser programs. Therefore, many JavaScript encapsulation libraries, such as Prototype, Dojo, ExtJS, and JQuery, are generated. These libraries encapsulate JavaScript and simplify development. These libraries are JavaScript encapsulation, that is, we call a function of JQuery. This function in JQuery helps us call dozens of JavaScript code sentences, because JQuery is a function class written in JavaScript syntax, it still calls JavaScript internally, so it does not replace JavaScript. JavaScript technology is still required to use JQuery code and compile JQuery extension plug-ins. Jquery itself is a bunch of JavaScript Functions.
Why JQuery?
Small size, easy to use (Write Less, Do More, eat Less dry, and many large companies are currently supporting JQuery, such as Microsoft, Microsoft inherited JQuery in vs2010.
What can JQuery do?
The common Dom that JQuery can do can also do.
Simple JQuery
The Code is as follows: