"jQuery Practical Case"
Classify:Web page productionViews:3053439Download:216
jquery is currently one of the most popular javascript/ajax libraries, which can achieve the most functions with the least code. This book comprehensively introduces jquery knowledge, showing how to traverse html documents, handle events, perform animations, and add ajax to web pages. The book closely focuses on the purpose of "using practical examples to explain every new concept", and vividly describes how jquery interacts with other tools and frameworks and how to generate jquery plug-ins.
This book is suitable for web developers of all levels.
Contents: Chapter 1 Introduction to jQuery
1.1 Why jQuery
1.2 Unobtrusive JavaScript
1.3 Basic principles of jQuery
1.3.1 jQuery wrapper
1.3.2 Utility functions
1.3.3 Document ready handler
1.3.4 Create DOM elements
1.3.5 Extend jQuery
1.3.6 Using jQuery and other libraries
1.4 Summary
Chapter 2 Creating Element Packaging Set
2.1 Select the element to be operated
2.1.1 Using basic CSS selectors
2.1.2 Using child selectors, container selectors and attribute selectors
2.1.3 Select by location
2.1.4 Using custom jQuery selectors
2.2 Generate new HTML
2.3 Managing packaging element collections
2.3.1 Determine the size of the packaging set
. 2.3.2 Get elements from the packaging set
2.3.3 Filter element packaging set
2.3.4 Use relationships to obtain packaging sets
2.3.5 There are more ways to use packaged sets
2.3.6 Managing jQuery chains
2.4 Summary
Chapter 3 Use jQuery to make the page come alive
3.1 Manipulating element attributes and characteristics
3.1.1 Manipulating element attributes
3.1.2 Get characteristic value
3.1.3 Set property value
3.1.4 Delete features
3.1.5 The joy brought by features
3.2 Modify element style
3.2.1 Adding and deleting class names
3.2.2 Get and set style
3.2.3 More useful commands related to styles
3.3 Set element content
3.3.1 Replace HTML or text content
3.3.2 Moving and copying elements
3.3.3 Wrapping elements
3.3.4 Delete elements
3.3.5 Clone elements
3.4 Processing form element values ​​
3.5 Summary
Chapter 4 Event
4.1 Browser event model
4.1.1 DOM level 0 event model
4.1.2 DOM Level 2 Event Model
4.1.3 IE event model
4.2 jQuery event model
4.2.1 Use jQuery to bind event handlers
4.2.2 Delete event handler
4.2.3 Event instance
4.2.4 Impact event propagation
4.2.5 Trigger event handler
4.2.6 Other event-related commands
4.3 Making events (and more) work
4.4 Summary
Chapter 5 Decorate the page with animations and effects
5.1 Show and hide elements
5.1.1 Implementing a collapsible list
5.1.2 Switch the display state of elements
5.2 Animate functions to show and hide
5.2.1 Make elements gradually show and hide
5.2.2 Fade elements in and out
5.2.3 Making elements slide up and down
5.2.4 Stop animation
5.3 Create custom animation
5.3.1 A customized zoom animation
5.3.2 A custom falling animation
5.3.3 A custom dissipation animation
5.4 Summary
Chapter 6 jQuery Utility Functions
6.1 Using jQuery flags
6.1.1 Detecting user agents
6.1.2 Determine the box model
6.1.3 Detecting the correct floating style to use
6.2 Using jQuery and other libraries
6.3 Manipulating JavaScript objects and collections
6.3.1 Trimming string
6.3.2 Iterating over properties and collections
6.3.3 Filter array
6.3.4 Convert arrays
6.3.5 Find more fun with JavaScript arrays
6.3.6 Extended objects
6.4 Dynamic loading script
6.5 Summary
Chapter 7 Extending jQuery with custom plug-ins
7.1 Why extend
7.2 Guidelines for creating jQuery plug-ins
7.2.1 Naming files and functions
7.2.2 Be careful$
7.2.3 Simplify complex parameter lists
7.3 Writing custom utility functions
7.3.1 Creating utility functions for manipulating data
7.3.2 Writing date formatter
7.4 Add new wrapper method
7.4.1 Applying multiple operations in wrapper methods
7.4.2 State retained within wrapper methods
7.5 Summary
Chapter 8 Using Ajax to Talk to the Server
8.1 Review Ajax
8.1.1 Create an XHR instance
8.1.2 Initiate a request
8.1.3 Tracking progress
8.1.4 Get response
8.2 Load content onto elements
8.2.1 Loading content using jQuery
8.2.2 Load dynamic inventory data
8.3 Initiate GET and POST requests
8.3.1 Use jQuery to obtain data
8.3.2 Get JSON data
8.3.3 Initiating a POST request
8.4 Full control of Ajax requests
8.4.1 Making an Ajax request with all trimming
8.4.2 Set the default value of the request
8.4.3 Global functions
8.5 Integrate everything
8.5.1 Implement tooltip behavior
8.5.2 Using the term prompter
8.5.3 Room for improvement
8.6 Summary
Chapter 9 Excellent, powerful and practical plug-ins
9.1 Form plug-in
9.1.1 Get the value of form control
9.1.2 Clear and reset form controls
9.1.3 Submitting a form via Ajax
9.1.4 Upload files
9.2 Size plugin
9.2.1 Extended methods for width and height
9.2.2 Get scroll size
9.2.3 About offset and position
9.3 Real-time query plug-in
9.3.1 Establish active event handler
9.3.2 Define match and mismatch listeners
9.3.3 Force Live Query evaluation
9.3.4 Expiring the Live Query listener
9.4 UI plug-in
9.4.1 Mouse interaction
9.4.2 UI widgets and visualizations
9.5 Summary
9.6 Epilogue
Statement:

All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn

Latest courses

See more
  • [Web front-end] Node.js quick start
    [Web front-end] Node.js quick start
    This course is specially designed for beginners and aims to help students quickly master the basic knowledge and core technologies of Node.js. The course starts with the installation and environment configuration of Node.js, and gradually analyzes its asynchronous programming model, module system and event-driven mechanism in depth. Through a wealth of practical cases, students will learn how to use Node.js to build an efficient and stable web server, process HTTP requests and responses, and perform file operations and database interactions. In addition, the course will also introduce typical application scenarios of Node.js in front-end development, helping students quickly improve their practical capabilities and easily cope with the challenges of front-end development.
  • Complete collection of foreign web development full-stack courses
    Complete collection of foreign web development full-stack courses
    This course is a comprehensive tutorial covering HTML, CSS, JavaScript, Vue.js, React, Flutter and mobile APP development. From basic web page production to complex front-end and back-end interactions, to practical development of mobile applications, the courses are rich in content and highly practical. Through a series of practical projects, students will gain an in-depth understanding of and master various development skills and quickly grow into full-stack development engineers. Both beginners and experienced developers can benefit from it. Through the study of this course, you will have the ability to independently develop web applications and mobile applications, laying a solid foundation for future career development.
  • Go language practical GraphQL
    Go language practical GraphQL
    This course is designed to help learners master how to use Go language to implement GraphQL services. The course starts with the basic knowledge of GraphQL, and deeply analyzes the characteristics and advantages of its data query language. Then, combined with the characteristics of the Go language, it explains in detail how to build a GraphQL server, process requests, define data patterns, etc. Through rich practical cases, learners will learn how to integrate GraphQL in actual projects to improve the flexibility and efficiency of data interaction. The course is suitable for developers with a certain foundation in Go language and is a must-have for building efficient and modern APIs.
  • 550W fan master learns JavaScript from scratch step by step
    550W fan master learns JavaScript from scratch step by step
    This course is specially designed for beginners and is taught by Google bosses. The course starts with the basic knowledge of JavaScript and gradually deepens it, covering syntax, functions, objects, event processing, etc. Through vivid cases and practical exercises, students can quickly master the core skills of JavaScript. The boss will personally answer students' questions and share programming experience, allowing students to grow into JavaScript masters in a relaxed and pleasant atmosphere. Whether you are a novice at programming or a developer looking to improve your skills, this course will be your best choice for learning JavaScript.
  • Python master Mosh, a beginner with zero basic knowledge can get started in 6 hours
    Python master Mosh, a beginner with zero basic knowledge can get started in 6 hours
    This course takes you on a programming journey. Starting from scratch, this 6-hour course will guide you through the fundamentals and advanced concepts of Python. Whether you're a beginner or an experienced programmer looking to improve your skills, Mosh's in-depth explanations and clear teaching methods will get you up to speed with Python quickly. Learn more about variables, data types, conditionals, loops, functions, objects, and modules and solidify your understanding with hands-on exercises. This course is ideal for learning Python and preparing you for a variety of career fields. Mosh's expertise and passion for education will give you the confidence to start on your path to becoming a proficient Python developer.