Because it is a study note, there is not a lot of comments and explanations, all the less suitable for the 0 basis of friends to see, can only say sorry.These notes still have a lot of problems, but I believe that in the future learning process will
JavaScript on the front1. The way of existence.
Script type="Text/javascript"Src="T1.js">Script>Scripttype="Text/javascript"> functionfunc() { Alert("Hello Shuaige")}2. JavaScript code block locationat the bottom of the code inside the
Data type of 1.JavaScript:①undefined②null③boolean④string⑤symbol⑥number, Object2. All variables and function names are case-sensitive in JavaScript;Therefore, the specification for the generic variable name is: Write the variable name using CamelCase.
The bootstrap JavaScript plugin can be imported into the page individually or once in a page. Because JavaScript plugins in Bootstrap are all dependent on the jquery library, you must first import the jquery library before importing it in a single
The hasOwnProperty() function is used to indicate whether an object itself (excluding the prototype chain) has a property with the specified name. If there is, return true , otherwise return false .This method belongs Object to an object, and since
First, what is JavascripJavaScript is a dynamic-type , weakly-typed , prototype -based client-side scripting language. Its interpreter is called the JavaScript engine, a part of the browser, widely used in the client's scripting language, used on
We know
The This object is bound by the run-time function-based execution environment: in the global function, this equals window, and when the function is called as a method of an object, this is equal to that object. JavaScript Advanced
Now there is a need such as:Product manager said card number can only let input numbers (the middle of the space is the format of self-added, but also with JS implementation), sometimes I have a voice in my mind, what things, add a type=number not
1. All things are objects; All properties and methods belong to the windowdocument.getElementById (' id ') = window.document.getElementById (' id ')A universal way to get the viewable area of a browservar w = window.innerwidth | |
1.rsa:http://www.ruanyifeng.com/blog/2013/06/rsa_algorithm_part_one.htmlPublic key encryption algorithms ensure that encrypted data is not crackedPrevious encryption methods are the same: A selection of encryption rules symmetric encryption
JQuery Easyui Tabs extension opens the tab based on custom properties, jqueryeasyui
Easyui is a lightweight background management system framework with various components. It is easy to use and now has a free version of License.
1. Add Extension
2.
JQuery EasyUI Tab problem summary, jqueryeasyui
Problems to be Solved:
For example, after I open the page of the administrative area, I open the page of product type management. Then I add a piece of data to product type management, when I click
Summary of json and jsonp knowledge (recommended) and jsonjsonp knowledge
Json
1. json values can be of the following types:
① Number (integer or floating point number), such as 123, 1.23
② String (in double quotation marks)
③ Logical value (true or
AngularJS filter details and sample code, angularjs sample code
Filters are used to modify data and can be classified into expressions or using pipeline instructions. The following is a list of commonly used filters.
S. No.
Name
AngularJS service details and sample code, angularjs sample code
AngularJS supports the concept of "separation of concerns" using the service architecture. A service is a JavaScript function and is responsible for only one specific task. This also
The general practice of navigation menus and general practice of navigation menus
one of the navigation bar practices homepage Navigation 1 navigation 2 navigation 3 navigation 4 Navigation 5
Css rotation and css Rotation
We can use css to make the animation effect. The following shows the div rotation and color transition animation.
move the cursor over the rectangle below: rotate 360 in two seconds
The results are
Float and inline-block experiences: floatinline-block
Float
Advantages:
Horizontal arrangement is convenient, and there is no browser compatibility problem.
Disadvantages:
1) when multiple rows are ranked horizontally, it is often not displayed
Integration of knowledge about important CSS attributes in margin attributes,
I have learned about margin in the last few days. I feel that my previous understanding of margin is very simple. Therefore, write the following articles for you to
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