One, operator 1, unary operator: Self-added self-reduction (2 types of front and rear): + + 、--Difference: The first self-added or self-reduction, after the calculation, the second is the first to calculate, after the increase or decrease (in
What is JSONJSON (JavaScript Object Notation) is a graceful way to create JavaScript objects. JSON is also a lightweight data interchange format. JSON is very easy for people to read and write, while facilitating machine parsing and generation. JSON
Basic types and reference types
There are two types of data type values in JavaScript. The base type value and the reference type value. A primitive type value refers to a simple data segment, whereas a reference type value refers to an object
First, Document.formName.item ("itemname") problem Problem description: Under IE, you can use Document.formName.item ("ItemName") or document.formName.elements ["ElementName"];firefox, Use only document.formname.elements["ElementName"].Workaround:
The function:function itself is an object that can be assigned to any variableImmediate invoked function expression (Iife): function () {} ()Method vs Function: A method is a function attribute of an object (the A method is a function, which is a
var a = ‘5‘;switch (a) { case 5: console.log(‘==‘); break; case "5": console.log(‘===‘); break; default:}The last console display is = = =, it seems to be safe to use. Looking for a previous study note, well, it is true that the
Example of using string trim () in JS, jstrim
Example 1:
test JS Extension Method
Example 2:
// Clear the space String on both sides. prototype. trim = function () {return this. replace (/(^ \ s *) | (\ s * $)/g, '') ;}; // Merge multiple
Differences between html, text, and val of jquery
. Html ()Use HTML tags for reading and modifying elements
. Text ()The plain text content used to read or modify elements.
. Val ()Used to read or modify the value of a form element.Functional
CSS3 responsive sliding menu, css3 responsive sliding
For details, click
Today, we will share a CSS-based responsive sliding menu with two features: 1. responsive layout, which means that the menu layout will change automatically as the page
HTML tag status and target attributes, tag target
four statuses
A: link connection normal status
A: When the hover mouse is put up
A: When the active mouse is pressed
A: The status of the visited connection after access
Target attribute
_
Based on CSS3, move the mouse over and zoom in to highlight the effect, and css3 mouse over and zoom in
I still remember sharing a CSS 3 image hover and zoom-in effect. Today, we will share a similar CSS move-over and zoom-out effect, but the
Four parameters are passed in detail, and four parameters are passed in detail.
This article is summarized in daily work. The following shows the transmission of four parameters.
When to use GET, query, delete,
When to use POST, add, and modify
The latest and most useful 15 jQuery plug-ins, the latest and most popular jquery
Hello, an exciting news. Now I want to organize the jQuery plug-in released in July.
If you are familiar with any plug-ins listed below, please share your feedback
Blog first --- css hover special effects, csshover
Today, I saw an interesting open-source css hover.
Demo: Http://gudh.github.io/ihover/dist/index.html
Github Repo is here: Https://github.com/gudh/ihover
Article:
Example Analysis of exec function usage in JavaScript and exec instance analysis
This example describes how to use the exec function in JavaScript. Share it with you for your reference. The details are as follows:
The exec function in javaScript
In JavaScript, The concat () method is used to concatenate strings.
This method returns two or more strings and a new single string.Syntax
String. concat (string2, string3 [,..., stringN]);
The following is the detailed information about the
Js + html5 use canvas to specify the start and end points to draw lines
This article describes how to draw a line by specifying the start and end points through canvas in js + html5. Share it with you for your reference. The specific implementation
Javascript is compatible with various browsers to parse XML document data.
This document describes how to parse XML document data in Javascript compatible with browsers. Share it with you for your reference. The specific analysis is as follows:
Many
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