HTML: Responsible for the structure of a page. CSS: Responsible for the style of a page. JavaScript: Responsible for interacting with the user. The history of JavaScript: Microsoft Gates thinks the future isWindowsof the world.
Thought by the C language: The Sanchong for loop implements a column sort of a two-dimensional array.Write yourself, the level is limited, there may be errors, forget it ~functionCircle () {varA = [ [1, 4, 3, 2], [8, 6, 5, 7], [3
In JavaScript, a variable is assigned a value of undefined or null. There's hardly any difference.undefined = = NULL--->trueBut strictly speaking: undefined = = = NULL---> FalseYou might think that undefined is a vacancy for a system-level,
1. Create an array of length 100 without using loops, and the value of each element equals its subscript?Array.apply (null, {length:n}). Map (function.call, number); Array.apply (0,array). Map (function(item,index) {return
In a page script, if you want to manipulate a page element, we're going to get this elementThe first thing you need to know about the DOM before you get the element is the Document Object model.In the DOM, the elements are represented as nodes, and
1. Trigonometric Functions
sin& (ratio of edge to hypotenuse) cos& (ratio of adjacent edge to hypotenuse) tan& (ratio of edge to adjacent edge)
The use of 2.JavaScript functions
Math.sin ()
Math.Cos ()
Math.tan ()
First, the JavaScript conceptJavaScript is a literal-translation scripting language, which is a dynamic type, a weak type, a prototype-based language , and a built-in support type.its interpreter is known as the JavaScript engine, a part of the
JS BasicsJavaScript is the most popular scripting language in the world, especially now, with computers, mobile phones, tablets and countless H5-based mobile apps, the interactive logic is written in JavaScript.JavaScript is an interpreted type of
Custom Inheritance:1. Modify only the parent object of an object:Obj.__proto__=fatherProblem: __proto__ is an internal attribute and cannot be used directly.Solve:Object.setprototypeof (Child,father)Set Child inheritance FatherObject.getprototypeof (
javascript-Opening a new window (window.open)The open () method can look for an existing or new browser window.Grammar:window.open ([URL], [window name], [parameter string])Parameter description:URL: Optional parameter, in the window to display the
JavaScript authoritative Guide To learn notes, Forbidden reprint!5. ObjectsThe properties of an object are unordered, and each property has a string key and value,Tags for data properties: Writable, enumerable, configurable, valuetags for accessor
What is date?
Date is a constructor of the dates class and an object that constructs an instance of a Date object.
There is a now () method that returns the current timestamp (beginning 1970.1.1).
Date.parse () accepts a date
Layui File Upload implementation code and layui file upload code
This article shares the code for uploading layui files for your reference. The details are as follows:
File Upload set the format of the uploaded file supports drag
Comparison between jquery append and appendTo, jqueryappendto
Differences between append and appendTo methods in jquery
1. append (content) Method
Function:Append content to each matching element.
Parameter description: content (): content to be
Bootstrap drop-down menu changed to the hover trigger method, bootstraphover
By default, the Bootstrap drop-down menu can be opened only by clicking. In the development process of the management system, hovering instead of clicking can reduce the
FONTAWESOME icon of bootstrap
Finally, winform has ushered in the B/S project. We need to write our own front-end page and use bootstrap to build the page. I am very white and I am slowly exploring, mainly records the problems encountered and
JQuery implements simple sliding navigation code (mobile terminal) and jquery sliding
1.1 App navigation
Note: In this example, there are only two options for implementing a navigation Mountain.
1. Suitable for mobile terminals.
2. the slider length
Use angular to select all and invert instance code for multiple buttons.
On the page, we often encounter multiple selection boxes, such as items in the shopping cart.
Angular is used to implement this function.
select ALL: {{ item }} {{
AngularJS uses a complete example of the loading function implemented by the interceptor, angularjsloading
This article describes the loading function implemented by AngularJS using the interceptor. We will share this with you for your reference.
Simple implementation of js click expand Level 2 menu function, js click expand menu
Although jQuery is already very useful, there are still many restrictions in actual development projects. For example, the wonderful requirements of the project
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.