Prov 10:4 He who is lazy is to be hands, but to be rich. He Becometh Poor that dealeth with a slack hand:but The hand of the diligent maketh rich.O (∩_∩) o~~ yesterday summed up the "JavaScript knowledge three" forgot to publish, hehe, recently
31.What isJQuerySelector Selector1) The jquery selector inherits part of the syntax of the CSS and path language, allowing for quick and accurate selection of DOM elements through tag names, property names, or content, without worrying about browser
The document interface provides methods for locating nodes, all of which look for nodes throughout an HTML document.(1) document.getElementById ("id");Get an HTML element object by ID, and the ID number should be unique within the HTML document.
Recently, because of work needs, by clicking on an element, dynamically create a DOM element and display, so write some related JS functions, in this record, to make a memo:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
This article introduces JS and jquery to obtain the parent window, the child window of the IFRAME. Need friends can come to the reference, I hope to help you. In web development, often use IFRAME, inevitably encounter the need in the parent
The form of odd and even rows to set different colors, in some cases is more practical, there is a good example, we can refer to, I hope to help youThis is a more practical function, set the color of the odd and even rows after the experience of
Letting you use div+css typesetting is not to let you use a different label and then follow the form to format
But the separation of content and performance
1:id a structural element that identifies a page's individual elements and persistent rows
If you want to be a CSS expert, it's not enough to recite a bunch of selectors, but also to improve the readability, efficiency, and maintainability of CSS stylesheets. Here, Jina Bolton will share her 10 tips on how to create a sexy CSS style sheet.
Introduction
jquery is one of the most widely used lightweight JavaScript libraries in web development, not only for professional web developers, but also for many novice web developers or Web enthusiasts who are easily integrated into JavaScript
The following sections provide a detailed description of one:
$ (Element):getElementById encapsulation, element can be an element of the ID or elements themselves, can also be an array, then return an array, using the $ method, will automatically
Initialization (element ID, the direction in which the element is moved is shown on the left, top, right, left, bottom, and right with 123456789 respectively).
Impact position, 9 digits representing 9 locations, in order the upper left corner,
1, what is Ajax, why to use Ajax (please talk about your knowledge of Ajax)
What is Ajax:
Ajax is the abbreviation for "Asynchronous JavaScript and XML". He refers to a web development technology that creates interactive Web applications.
Ajax
Seajs is a module-loading framework developed by Yuber that follows the COMMONJS specification and can be easily and cheerfully loaded with arbitrary JavaScript modules and CSS module styles. Seajs is very small, compact is compressed and gzip after
jquery Selector1. Basic SelectorThe basic selector is the most commonly used selector in jquery and the simplest selector, which finds DOM elements by element ID, class, and tag name. This is very important, the following content is based on this,
Gets the elements in the IFRAME in the parent windowIE under:Format: window.frames["The name value of the IFRAME"].document.getelementbyid ("ID of the control in the IFrame"). Click (); Example: window.frames[Methods that are supported:Format:
1. CSS style precedence issues1 9 Ten One A - - the - - - View Code2. JS automatically generated HTML, and do not need to generate the HTML statement repeatedly, the processing scheme is as follows:1 $ ("element/id/classname"). Remove ().
Effect preview:http://www.helloweba.com/demo/cloud-zoom/source code Download:http://pan.baidu.com/s/1eQnadXoCloud Zoom is an image magnification jquery plugin that works as Magic Zoom. Compared to popular jqzoom plugins, Cloud Zoom is small, with
1. Take element $id based on ID name (idname)2. The element $class (ClassName) based on the class definition returns all the array of elements defined as className in the class, or $eclass (ClassName) returns the first element3. Take element $tag
: Cloud_zoom.rarPicture Magnifier effect is a good effect, many applications in e-commerce, image display and other sites, to bring a better experience for users. To achieve this effect of the code a lot, today to introduce to you is Cloud Zoom, it
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.