Introduction to jquery and introduction to jquery
Prefix:
After feeling deeply lacking in the front-end, I bought the second version of the jquery authoritative guide. I spent less than two weeks in my spare time repeating the examples in the book. I did not find the pdf of the electronic book on the Internet. I found the mobile document and mobile phone reader.
Ebook: http://download.csdn.net/detail/lovesummerforever/8670721
Corresponding e-reader: http://download.csdn.net/detail/lovesummerforever/8670699
Code used in this book: http://download.csdn.net/detail/lovesummerforever/8670753
With the above tools, you can learn the electronic books.
Body:
Jquery Introduction
Jquery is an excellent javascript library. Features: It is lightweight, compatible with CSS3, and compatible with various browsers. Jquery allows you to easily process html and events, implement animation effects, and provide ajax interaction. Its documentation is comprehensive, and there are also mature plug-ins to choose from. Jquery allows you to keep code and content separated, that is, you don't need to insert a bunch of JavaScript code in html to call the command. You just need to define the id.
Jquery is free and open-source. Jquery, that is, JavaScript and Query, is the library that assists JavaScript development.
Jquery online manual: http://hemin.cn/jq/
Basic functions of jquery
1. Access and operate DOM elements
Using the jquery library, you can easily obtain and modify an element on the page. jquery provides a complete set of solutions for deleting, moving, and copying an element, this reduces code writing and greatly improves the user experience on the page.
2. Control the Page Style
With the jquery library, developers can quickly control CSS files. Browser compatibility with page files is a common problem. Using jquery to operate pages can be compatible with various browsers.
3. Process page events
After jquery is introduced, the page presentation layer and feature development can be separated, allowing developers to focus more on logic and functionality;
4. Use a large number of plug-ins on pages
After the jquery library is introduced, you can use a large number of plug-ins to improve the page functions and effects, such as form plug-ins, UI plug-ins, and the use of these plug-ins, greatly enriching the page display effect.
5. Perfect Combination with Ajax technology
Ajax asynchronously reads server data, which greatly facilitates Program Development and enhances the user's page experience. The introduction of the jquery library not only improves the original functions, but also reduces code writing.
Warm-up