Created by American John Resig, JQuery has attracted many JavaScript gurus from around the world to join its team. jquery is another excellent JAVASCRĪPT framework following prototype. Its classic slogan is "Write less, does more" (write fewer code, do more things). jquery is a lightweight JS library (only 21k after compression), this is not the other JS library,
ArticleDirectory
Example 1: Expand jquery itself
Example 2: Extended object
Example 3: shallow copy-references exist in OBJ
Example 4: Deep copy-references exist in OBJ
Example 5: Expand jquery. FN
From the jquery source code, we can see that jquery. Extend and
There are many ways to use jQuery on the Internet. data (..) to implement data caching, but two users often use data ([key], [value]) and jQuery. data (element, [key], [value]) has almost no articles to clarify the differences between them, so I used it and shared it with you.
$ (""). Data ([key], [value]) and jQuery. data (element, [key], [value ])These two fun
The old driver will show you the jQuery plug-in development process and the jquery plug-in process
Jquery plug-in Development Mode
Jquery plug-ins generally have three development methods:
Use $. extend () to extend jQuery
Add a new method to
JQuery method source code parsing--jquery ($) methodNote:1. This article analyzes the code is jquery.1.11.1 version, the official web download uncompressed version can2. Please specify the source of the reprintjquery Method:This method everyone is not unfamiliar, in the course of use, it also has another name, dollar sign: $,$ (...) is actually
jquery Chinese starter guide, translation plus examples, jquery's starting point tutorial
Translator of Chinese version: Keel
This article is a step-by-step illustration of how jquery works, based on an example. The Chinese translation (add my supplementary note) is as follows. If you have relevant comments or suggestions please write a reply to my BLOG or EMAIL to inform.
English Original: htt
As we all know, Jquery is an efficient encapsulation of JavaScript, so the array to be operated by Jquery is an array in JavaScript. in JavaScript, we use for and for-in for Array Operations, in Jquery, $. map (), $. each () is used to operate an array. First, it is an ordinary array (an array with an index of an integer ):
$. Map (arr, fn );
Call the fn function
Jquery. artwl. thickbox. js is a very simple and easy-to-use jQuery pop-up layer plug-in. If you need it, refer to the following final results:
The Code is as follows:
Plug-in for the pop-up layer: jquery. artwl. thickbox. js
Use jQuery to quickly and efficiently create webpage effects ------------------------- jQuery events and animations, and jquery animation Effects
1. Basic events
Divided into three events
1.1 window event
A window event is an event that is triggered when a user executes operations that affect the browser.
1.2 mouse events
As the name suggests, a mouse event
The significance of using jstempate: Using js to generate html for json data processing. If it is not complex, it is not easy to handle it if it is complicated, and it makes js Code look not elegant, maintaining this type of code is suicide. Don't talk about scalability... Describes a jquery
Meaning of using js tempate:Using js to process json data to generate html. If it is not complicated, it will be difficult to handle it. In addition, it makes Jav
How to manipulate jquery documentsThese methods are applicable for both XML documents and HTML documents, except for: HTML ().Method descriptionAddClass () adds the specified class name to the matching element.After () inserts the content after the matched element.Append () Appends content to the matching element.AppendTo () appends content to the matching element.attr () Sets or returns the attributes and values of the matching element.Before () inse
[JQuery] jQuery self-made simple accordion effect (with implementation principle) and jquery accordion
The accordion effect is often used in the navigation bar on the left of the webpage. When there are a lot of navigation content, the display of the accordion is more conducive to information transmission and formatting. Below is a simple accordion effect created
This article mainly introduces how to use Jquery. lazyload. js, The jquery image delay loading plug-in. For more information, see jquery. lazyload. js in the latest version.
1. Please follow the basic instructions
The Code is as follows:
// Load the JavaScript file
We can see.Demo Address http://www.cnjquery.com/demo/jQuery+Animate+Demo/login.html
Download: http://bbs.cnjquery.com/viewthread.php?tid=39pid=99page=1extra=page%3D1#pid99
The following are the referenced contents: ! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">HTMLxmlns="http://www.w3.org/1999/xhtml"gt; Headgt; Metahttp-equiv="Content-type"content="text/h
Jquery collection roundup
21 simple and useful jquery tutorials you might have missedCollection of menu, gallery, Slider, tooltips, dock, modal window, Ajax and jquery turtorials. This is a round up post for all the jquery tutorials I have created since March 2009.
14 best collection of
Original: Learn jquery from scratch (eight): jquery implementation PlanThis series of articles navigation Learn jquery from scratch (i) Getting started with the epoch Learn jquery from scratch (ii) Universal Selector Learn jquery from scratch (iii) managing the
Translator of Chinese version: Keel
This article is a step-by-step illustration of how jquery works, based on an example. The Chinese translation (add my supplementary note) is as follows. If you have relevant comments or suggestions please write a reply to my BLOG or EMAIL to inform.
English Original: http://jquery.bassistance.de/jquery-getting-started.html, thank the original author Jörn zaefferer
There are many ways to use jQuery on the Internet. data (..) to implement data caching, but two users often use data ([key], [value]) and jQuery. data (element, [key], [value]) has almost no articles to clarify the differences between them, so I used it and shared it with you.$ (""). Data ([key], [value]) and jQuery. data (element, [key], [value ])These two funct
There are many ways to use jQuery on the Internet. data (..) to implement data caching, but two users often use data ([key], [value]) and jQuery. data (element, [key], [value]) has almost no articles to clarify the differences between them, so I used it and shared it with you.$ (""). Data ([key], [value]) and jQuery. data (element, [key], [value ])These two funct
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.