My qq account is 2059055336. If you are interested in this course, contact me via qq.
1. What kind of course is this course (Comprehensive Introduction)
1.1. Course Background
The official release of jQuery 2.0 does not support IE 6/7/8
Copy codeThe Code is as follows:// Formatted amount s is the parameter to be formatted (float type), and n is the number of digits reserved after the decimal pointFunction formatMoney (s, n ){N = n> 0 & n S = parseFloat (s + ""). replace (/[^ \ d \.-
The conversion of uppercase and lowercase letters in js mainly uses four js functions:
1. toLocaleUpperCase2. toUpperCase3. toLocaleLowerCase4. toLowerCase
The following is a simple analysis of these four JavaScript Functions that implement
Each object in Javascript has a prototype. Try:Copy codeThe Code is as follows:Var Richard = new Object ();Alert (typeof (Richard. prototype )); The result is depressing. the browser pops up with undefined ......What is going on?Let's look at
Today, we want to share with you a set of creative page switching Xiong effect sets. We have already listed a set of animations in the example, which can be applied to the page switching process to create interesting navigation effects. Although
Ajax refreshing
Copy codeThe Code is as follows:Var xmlHttp;UName () // when the user name loses focus{If (all. uname. = ""){All. l1.innerHTML = "cannot be blank! ";SetTimeout ("close (1)", 1500 );Return;}Else{XmlHttp = new ActiveXObject ("Microsoft.
1. What is QUnit?
QUnit (http://qunitjs.com/) is a very powerful javascript unit testing framework that can help you debug code. It is written by members of the jQuery team and is the official test suite of jQuery. However, QUnit is generally
Simply put, it has three features:Copy codeThe Code is as follows:* The total number of States is limited.* At any time point, it is in only one State.* Under certain conditions, it will change from one state to another.
Its significance to
In the case of processing JSON arrays in jquery, traversal involves a lot of operations, but it seems that there are not too many operations to remove with addition.
I tried json [I] today. remove (), json. after removing (I), it won't work. It
The Promise programming mode is also called thenable, which can be understood as delayed execution. Each Promise has a unique API called then. When Promise fails or succeeds, it performs a callback. It represents an operation result that may run for
In js, if you plan to use setInterval for countdown, timing, and other functions, it is often inaccurate, because the setInterval callback function is not executed immediately after that, it is executed only when the system computing resources are
Sometimes we need an optional drop-down box to select the content, but there is a need to customize the input. For this requirement, most websites use a drop-down box and an input text, which can be selected in parallel or by a branch. So what
In ECMAScript v3, the two methods are defined for the Function prototype. Both methods have the same role: using these two methods can call functions like calling other object methods, this sentence was copied from a book. At least I did not
Whether Javascript is an object-oriented language or a language that supports objects, I think everyone has their own opinions. Fans who are loyal to Javascript must say that Javascript is an object-oriented language. For example, Javascript in The
1. For a module, the prefix is as follows:
Title: title, tit prompt: hint
Menu: menu information: info
Preview: pvw navigation: nav
Button: btn text: txt
Section: p icon: icon
Color: color (Abbreviation: c) Background: bg
Border: bor
Set: set add:
I. Preface requireJS (I) This article mainly describes the usage of requirejs, which is relatively scattered. Instance directory 2. Optimize requirejs. We recommend that you write a js file for each module. However, this will increase the website's
Css is a code that separates html from styles for parsing. Its appearance greatly improves the programmer's work efficiency and the later maintenance efficiency. But since its development, the rigid and monotonous writing has become increasingly
I have always felt that Js is very powerful. Due to the lack of js Code for a long time, it is just a warm story recently.
1. Javascript does not have the concept of code block scope. Local scope is for functions.
Function fun () {for (var I = 0;
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