A good introduction to jquery in China, "sharp jquery", start learning.
JavaScript is an explanatory scripting language (code does not compile) and can be embedded directly into HTML, across platforms. It was originally used to add dynamic functionality to the Web page in HTML.
jquery is a JS library, with simple syntax and cross-platform compatibility, simplifying JS developers traversing HTML documents , manipulating the DOM, handling events, performing animations, and developing AJAX operations. jquery Library Development Edition (Jquery.js) and production (jquery.min.js)
write less,does more, which is the jquery slogan.
1. jquery's code style: chain-style. $ is a shorthand form of jquery, such as $.ajax and Jquery.ajax are equivalent.
2. Dom Objects and jquery objects:The DOM can be represented as a tree, the DOM element is the DOM object, and the jquery object is the object that is produced after wrapping with jquery. Any method of a DOM object cannot be used in a jquery object.
The DOM object is turned into a jquery object, and only $ () is used to wrap the DOM object.
jquery Learning (I.)