The $ symbol of jQuery is amazing. It can accept a single character, a document object, or a window object, or pass a function to the domReady loader. Obviously, this step can be done, its implementation is quite complicated. This implementation is its init method, the real constructor of jQuery. Its functions also become longer and longer as the version is upgraded.
Version 1.3 released on
The Code is as
This series of articles navigationLearn jquery from scratch (i) Getting started with the epochLearn jquery from scratch (ii) Universal SelectorLearn jquery from scratch (iii) managing the jquery package setLearn jquery from scratch (iv) attributes and styles for manipulating
The most successful part of jquery, I think, is that its extensibility has attracted many developers to develop plug-ins to build an ecosystem. This is like the big companies competing to do the platform, the platform to the world. Apple, Microsoft, Google and other giants, all have their own platform and ecological circle.Learning to use jquery is not difficult, because it's easy to learn, and I'm sure you
JQuery Chinese Getting Started Guide, translation plus example, jQuery start tutorial Chinese Version Translator: Keel
This article describes how jQuery works step by step based on examples. The following is a Chinese translation (add my additional instructions. If you have any comments or suggestions, please send a reply or EMAIL to your BLOG.
Http://jquery.bass
Overall jquery source code architecture, jquery source code Architecture1. provide external interfaces
JQuery is provided externally.
// You can use jQuery or $ to find jQuery (function (window, undefined) {// () defines some variables and functions
For JQuery plug-in templates, you can refer to several plug-ins developed in the company's project process. The following is the jquery plug-in template used by Levin. Similar to google.
The Code is as follows:
; (Function ($ ){// Private functions.Var p = {};P. func1 = function (){};// Main plugin body$. Fn. PLUGIN = function (options ){// Set the options.Options = $. extend ({}, $. fn. PLUGIN. defaul
To operate an element on the page, you must first select it, which requires a selector. The selector can be considered as an enhanced getElementById method. The getElementById method returns an HTML element, and the jQuery selector returns a pack of HTML elements. With this package set, jQuery gives HTML elements more operational methods. In JQuery, $ is a core f
From http://blog.163.com/weiweithe@126/
"
The roles of the two files are exactly the same.
In jquery-1.4.2.jsCodeIs the original code without processing, suitable for people to read and research.
The code in the jquery-1.4.2.min.js has been specially processed, such as the variable name is basically written as a letter, and the format indent is deleted.
Therefore, the file size is relatively small (min
This article is reproduced from http://www.cnblogs.com/Wayou/p/jquery_plugin_tutorial.htmlThe most successful part of jquery, I think, is that its extensibility has attracted many developers to develop plug-ins to build an ecosystem. This is like the big companies competing to do the platform, the platform to the world. Apple, Microsoft, Google and other giants, all have their own platform and ecological circle.Learning to use
ArticleDirectory
Useful JavaScript and jquery Techniques
Useful JavaScript/jquery tools
We are regulalry collecting useful JavaScript and jquery snippets, libraries, articles, tools and resources and present them in compact round-ups here, on noupe. This time we are again covering someUseful JavaScript and
Before introducing how to extend jQuery, let's take a rough look at jQuery source code (take Version 1.3.2 as an example ). The main body of jQuery is as follows:
(Function (){......}) ();
It is strange for people with poor Javascript basics. In fact, this expression declares an anonymous function (the first parenthesis) and then executes it (the second parenth
Examples of jQuery plug-ins and jquery plug-ins
I. jQuery plug-in type
1. jQuery Method
A large part of jQuery plug-ins are of this type. Because these plug-ins encapsulate object methods, they operate when the jQuery selector obt
The data cache system was first introduced by jQuery1.2, when its event system was copied to the addEvent of DE. js, and addEvent has a defect in implementation. It puts the Event Callback above EventTarget, which will lead to the introduction of the circular reference data cache system jQuery1.2 at the earliest, at that time, its Event System copied the addEvent of DE. js, and addEvent has a defect in implementation. It puts the Event Callback above EventTarget, which will lead to circular refe
This article is the first to introduce jQuery. It provides a simple example to guide you on how to compile jQuery code and build a development environment. describes in detail how to use jQuery in Visual Studio. i. summary
This series of articles will take you into the wonderful world of jQuery. Many of them have their
Comprehensive and detailed jQuery common development skills manual and jquery development skills
This article provides you with a detailed article on jQuery's common development skills for your reference. The specific content is as follows:
1. Reference of page elementsThe $ () referenced element of jquery includes methods such as id, class, element name, element
Document directory
What else...
English version Translator: Keel
This article describes how jQuery works step by step based on examples. The following is a Chinese translation (add my additional instructions. If you have any comments or suggestions, please send a reply or EMAIL to your BLOG.
Http://jquery.bassistance.de/jquery-getting-started.html, author J örn Zaefferer
This article has been publishe
The test page must reference the jquery js file plug-in file jquery. Jwin. jsjquery. Jwin. The use parameters of the plug-in are described in the Code below:
The Code is as follows:
(Function ($ ){Var imgdir = 'images/'; // path of the image folderVar autoHide = false; // whether the suspended p is automatically hiddenVar hideType = 'hide '; // optional parameters include hide, slide, and fade.Var hideDe
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
Implementation of DOM operations in jQuery. For more information about DOM operations, see. DOM is divided into three aspects, namely DOM Core, HTML-DOM, CSS-DOM.
1. DOM Core is not specialized in JavaScript. It can be used by any programming language that supports DOM.GetElementById (), getElementsByTagName ()... and other methods in JavaScript.
For example, you can use DOM Core to obtain form objects:
Document. getElementsByTagName ("form ");
2, H
Key points in sharp jQuery (3) Events and animations in jQuery (Part II: animation) II. Animation
1. show () and hide () Methods
The Code is as follows:
$ ("Selector"). show ()Restore the default or set display attribute of an element from display: none$ ("Selector"). hide ()Set the display style of the element to none, equal to $ ("selector" ).css ("display", "none ")
(Note: After passing in parameters
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.