jQuery is a fast, concise javaScript library that allows users to more easily process HTML documents and events, implement animation effects, and easily provide AJAX interactions for websites.
Another big advantage of jQuery is that its documentation is very complete and its various applications are explained in detail. There are also many mature plug-ins to choose from. jQuery can keep the code and html content of the user's html page separated. That is to say, there is no need to insert a bunch of js into the html to call the command. You only need to define the id.
More detailed log:
This release mainly fixes bugs discovered in the jQuery 1.9 version over the past few weeks.
The official version of jQuery 1.8 has been released. Let us take a look at the main major changes of jQuery 1.8..3.
jquery-1.8.3.min.js (compressed and minimized, suitable for production environment)
jquery-1.8.3.js (uncompressed version, for debugging)
JQUERY 1.8.3
Ajax
#12583: IE8 HTML bug (Chinese translation)
#12635: jquery 1.8.2 fails ajax calls in IE9 because it assumes cross domain when default port is in ajax url
Attributes
#10943: JQuery 1.7.1 does not properly set tabindex property on cloned element in IE7
Core
#12690: Minimum JS File Contains non-ASCII Character
css
#10227: $('body').show() does'nt work if body style is set to display:none
#12537: element.css('filter') returns undefined in IE9
Deferred
#12665: Callbacks objects with "unique" flag will iterate over a function's methods when it is added a second time
Effects
#8685: Animations should keep track of animation state in order to properly address stacked animations
#12497: jQuery 1.8.1 transitions crashing android 2.3.4 browser
#12837: All animations break after zooming a lightbox on the iPad
Selector
#12643: Upgrade from 1.3.2 to 1.8.2 gives an Uncaught TypeError
#12648: Can not correctly detect focus for DIVs with contenteditable in Chrome and Safari
Support
#12357: jQuery 1.8.0 Not parseable by XUL Runner Applications
1.8.0
1. Sizzle selector engine re-architecture
2. Reinvent animation processing
3. Automatic CSS prefix processing
When you use CSS properties in .css() and .animate(), jQuery will automatically set some prefixes according to the browser type. For example, .css("user-select", "none") will become It becomes "-webkit-user-select", in Firefox it becomes "-moz-user-select", in IE10 it becomes "-ms-user-select".
4. More flexible $(html, props)
5. Over 160 bugs resolved and closed
6. Code is smaller
7. Modularity
At the same time, jQuery 1.8 also removed some APs
it works
it works
it works