Customized a computer table, the weekend master came to assemble. Bought a chair, courier on the road, to-morrow. The hardware is almost ready to start recording the front-end course tutorial video. Add a lot of front-end QQ group, a lot of students
typeof detects the data type of a given variable and distinguishes functions and other objects by TypeOfvar message = ' Some string '; Console.log (typeof (Message)); "String" Console.log (typeof (null)); "Object" is a special return value
JavascriptRegular ExpressionsOf2method of definition: One is to call directlyRegExp (), the second is defined directly by the literal, i.e.var re =/Regular Rules/;Jsof the regular expression2the method of definition is essentially calledRegExp
There are 5 basic data types in ECMAScript: Undefined, Null, Bollean, number, and string,1 complex data types: Object.Because ECMAScript is loosely typed, it provides an operator-typeof that detects the data type of a given variable. Using this
DOM Add, delete, change, check Oul.children get UL sub-nodes property with length oul.children[0] get UL 1th child node use more oul.children[ oul.children.length-1] Get UL's last sub-node Use more
In JavaScript, integer values and floating-point values are not distinguished, and all numbers are represented by floating-point values. JavaScript uses the IEEE 754 standard (interested in browsing the IEEE 754 standard under the Network
Node:1. In the HTML DOM (Document Object model), each section is a node:The document itself is a document nodeAll HTML elements are element nodesAll HTML attributes are attribute nodesText within an HTML element is a text nodeComment is a comment
To understand the similarities and differences of 2 events, first look at the HTML document loading orderHTML DOM Document loading stepsHTML DOM document loading is performed sequentially, in relation to how the browser renders, generally the order
Java to the front end for more than 2 years, at the outset, I and another colleague, formed a front-end team, do the company's website project and WAP project.From Java to the front end, also does not mean to abandon Java, just write no more than
What I'm bringing to you today is some of the properties and functions of the JavaScript object that we can use to make those page effects, and here's the topic for today.1. Complete JavaScript is composed of ECMAScript, BOM(Browser object model),
[Front-end development]-Summary and front-end summaryOutline of front-end development knowledge points:
HTML & CSS: understanding of Web standards, browser kernel differences, compatibility, hack, and CSS basic skills: layout, box model, selector
Comparison of the js string truncation functions slice, substring, and substr, slicesubstr
In js, the character truncation function has three common slice (), substring (), and substr (). Next I will introduce slice () and substring () and substr ()
How to Use Promises to write more elegant JavaScript code, promisesjavascript
You may have accidentally heard of Promises. Many people are discussing it and using it, but you don't know why they are so special. Can't you use callback? What's special?
Simple paging code js implementation, paging code js
Let's take a look:
Simple paging js Code:1. Effect description:JQuery plug-in that can be displayed without paginationJQuery paging plug-in -- jQuery. page. js is easy to use and has a great
A simple example of Jquery cross-origin to obtain Json, jquery cross-origin json
In the past two days, when using Jquery to retrieve data across domains, I often encounter the invalid label error, which is very depressing and cannot retrieve the
Use of facade in design mode in JavaScript development, design mode facade
Concept
Appearance mode (facade mode) is a relatively simple and ubiquitous mode. The appearance mode provides a high-level interface that makes it easier for clients or
Attributes of attr and learning notes of JQuery. data () in jQuery [mandatory], jqueryattr
Data-key is stored in html directly, and all keys must be in lower case.
export loe. log ($ ("div"). data ("mydata"); // output 123
2. Avoid using a
JavaScript: Array-type full resolution, array full resolution
Array types in JavaScript differ greatly from arrays in other languages.Each item in JavaScript can save any type of data.In additionThe size can be dynamically adjusted. It can
A quick solution to 23 problems of Multi-browser compatibility in JavaScript, javascript23
I. document. formName. item ("itemName ")
Problem description: in IE, you can use document. formName. item ("itemName") or document. formName. elements
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.