1. DefinitionIn many programming languages, the length of an array is fixed, that is, when you define an array, you need to define the length of the array, so it is difficult to add new elements when the array is already filled with data. It can
Introduction to Prototype mode (prototype) refers to the kind of objects that are created with prototype instances, and creates new objects by copying them. Text for prototype mode, we can take advantage of JavaScript-specific prototype inheritance
Numeric conversions: There are 3 functions that can convert a non-numeric value to a value, number (), parseint (), parsefloat ().For number () if it is
Boolean, True 1,false is 0;
Null is 0;
Undefined is Nan;
The string
1, The basic concept of the DOMThe DOM is the Document Object model, which is a tree model; a document is a label document; An object is a document; A model refers to something that is abstract. 2.Window object Operation first, properties and
1, local variables and global variables;
Global variablesThe first thing to know is that the global variable execution environment is the global scope, and the global scope is the outermost execution environment that can be accessed
JavaScript and DOM:Let's take an example where an HTML contains a text and an unordered list.PID= "Intro">My First paragraph ...P> ul> Li>List Item 1Li> Li>List Item 1Li> Li>List Item 1Li> Li>List Item 1Li>
The array type is one of the most commonly used types in ECMAScript, and the arrays in ECMAScript are quite different from those in most other languages. Each item of the ECMAScript array can hold any type of data. Most of the methods of array types
The scope of JavaScript has always been the front-end development of the more difficult to understand the knowledge point, for the scope of JavaScript mainly remember a few words, go all over the world are not afraid of ...One, "no block-level scope
This article is reproduced from http://www.cnblogs.com/coco1s/p/3953653.htmlIt's good to review.Main content1. JavaScript variables2. JavaScript operators3. JavaScript arrays4. JavaScript process statements5. JavaScript String functions6. JavaScript
Object
JavaScript is an object-oriented language, so you can use object-oriented thinking to design a JavaScript object is a data entity that is composed of some properties and methods that are related to each other.
JS built-in
Scope of the variableA variable can be either global or local.Global Variables : can be referenced anywhere in the script, once you declare a global variable in a script, you can reference it anywhere in the script (including inside the function),
A callback function is a function that is called through a function pointer. If you pass the pointer (address) of the function as an argument to another function, when the pointer is used to invoke the function it points to, we say this is a
The pseudo class of CSS, css
1.
: Link: Add styles to unaccessed links
: Visited adds a style to the accessed Link
: Hover: Add a style to the element when the mouse is hovering over the element
: Active adds a style to the activated element
Common tag summary in html and common html Tag Summary
1 Details label: 2 3 ~ title label 4 Format Text 5 underline 6 italics 7 reference, usually 8 in italic. emphasized text is usually 9 in italic. aggravated text, generally, the font 10
For more information about the sub-scope of AngularJS, see angularjs.
Preface
Currently, commands provided by AngularJS include:ng-include,ng-view,ng-switch,ng-repeat. This is because, although these commands are internally defined by AngularJS,
AngularJS $ on, $ emit, and $ broadcast, angularjsemit
The scope in AngularJS has a very hierarchical and nested structure. Both of them have a major $ rootScope (corresponding Angular application or ng-app), and all other scopes are inherited from
Easy understanding of JavaScript status mode and easy understanding of javascript
Status Mode
The State mode allows an object to change its behavior when its internal State changes. The object seems to have modified its class.
The usage scenarios
JS accordion effect, js accordion
Having read so many examples of the online accordion effect, I thought it was complicated. I simply wrote a simple one.
Below is the HTML 1 222 2 222q 3 222dd 3 View Code
JS CodeUl
[Convert] N methods for removing the spacing between inline-block elements, inline-block spacing
From Zhang xinxu-xin space-xin Sheng lives [http://www.zhangxinxu.com]1. symptom description
In the true sense, the horizontal inline-block elements are
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service