Date 2015-11-28Move your previous reading notes before I lose them.Time past long, look back at the understanding are different.
Here's a look at the differences with Java:JS is a kind of loose type language;JS does not distinguish between shaping
The 6th Chapter object-oriented programmingCreating objects1. The simplest way to create an instance of an object, such asvar person = new Object ();Person.name = "Greg";Person.age = 27;Person.job = "Doctor";Person.sayname = function () {alert (this.
Based on the prototype chain inheritanceThe inheritance is implemented by assigning an instance of the parent class to the prototype of the child class.Principle: the instance of the parent class has all the instance properties of the parent class
1. General use
2. This.x and apply (), call ()
3. Meaningless (weird) this use
4. This in the event listener function
5. Summary
The this variable is an elusive keyword in JavaScript, and this is a very powerful, well-understood
I. GrammarJS has only one numeric type, 64-bit floating-point number, so 1 and 1.0 are the same. Why this design: Prevent short-integer overflow.Two. Object 1. An assignment method that typically assigns the value of an object to another variableif (
What is an object is, in fact, a type, that is, a reference type. The value of the object is an instance of the reference type. The reference type in ECMAScript is a data structure used to organize data and functionality together. It is also often
History ObjectThe history object records the pages (URLs) that the user has browsed, and enables the browser to move forward and backward with similar navigation capabilities.The moment the window is opened, each browser window, every tab, and even
JavaScript has a dynamic type. This means that the same variables can be used for different types:var x // x is undefinedvar x = 6; // x is a number var x = "Bill"; // x is a string1. String: The string can be any text
Create a calendar based on the jQuery calendar plug-in, jquery calendar plug-in
Let's take a look at the final result:
It's a bit ugly. Don't bother me -. -
First, let's talk about the main production logic of this calendar:
· A Month can have 31
SASS, sass tutorialSass (Syntactically Awesome StyleSheets)
Sass is an extension of CSS, making the CSS language more powerful and elegant. It allows you to use variables, nested rules, mixins, imports, and other functions, and is fully compatible
JS string-related methods1. Character Method
Both charAt () and charCodeAt () methods receive a parameter and a 0-based character location. charAt () returns the character at the given location, charCodeAt () returns the character encoding of the
Angularjs material implements the search box function, angularjsmaterial
Angular-material is a sub-project of AngularJS and is used to provide components that implement the Material Design style.
Material provides a large number of android-style UI
On JavaScript Modular programming and javascript Modularization
The importance of JavaScript Modular programming
The prototype of JavaScript is java, which is also an object-oriented programming language and belongs to a weak type language. It has
JQuery calendar plug-in datepicker Usage Details, jquerydatepicker
JQuery is a rare and excellent javascript script development library, and many plug-ins based on it are also very standard and excellent. If you miss this beautiful scenery, it would
JQuery implements a simple demonstration of the special effect of TAB switch, jquerytab
This article provides examples to share with you how jQuery implements the TAB switch special effect for your reference. The specific content is as follows:
1.
Details about the scope and data binding in the AngularJS framework of JavaScript, angularjsjavascript
AngularJS IntroductionAngularJS is an open-source front-end MVC script framework initiated by Google. It is suitable for both common WEB
Use NodeJs to develop public account (3) event interaction instances and nodejs instances
The public account has a rule. Once the developer mode is enabled, other common functions must be called through interfaces. For example, the custom menu
Description of the date plug-in Mobiscroll in jQuery Mobile development, jquerymobiscroll
In recent Mobile development, jQuery Mobile is used. Mobile plug-ins have less options than Web plug-ins. Some of them need to be encapsulated by themselves,
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