JavaScript learning notes 2 String concatenation _ basic knowledge

Some knowledge points of JavaScript String concatenation are worth looking at to improve efficiency. Var str = "hello "; Str + = "world "; In fact, the steps behind the scenes are as follows: (1) create a string that stores "hello. (2) create a

A module pattern of Javascript _ YUI. Ext

In YUI, we only use two global variables: YAHOO and YAHOO_config. YUI uses YAHOO object-level members or variables in the member scope. We recommend that you use similar rules in your application. Douglas Crockford has taught you a useful singleton

YAHOO. util. Dom-Part.4_YUI.Ext related to javascriptYUI code reading Diary

The getXY function in YAHOO. util. Dom allows developers to fully experience the Hack of different browsers. IE8 is about to break out of the shell. I hope the following functions won't be judged by multiple if statements. The getXY function uses an

JavaScript syntax coloring engine (demo and package file download) _ prototype

The JavaScript syntax coloring engine (demo and package file download) should be proud of the suggestions of little snake. I sorted out the JavaScript syntax coloring engine written last year and provided the download. In general, it is very simple.

JavaScript and functional programming interpreter _ javascript skills

Explanation of JavaScript and functional programming Author: yueying Remember: function programming is not a function programming !!! 23.4 functional programming 23.4.1 what is functional programming What is functional programming? If you ask in

Combination of XML + XSL and HTML _ javascript skills

xsl

The combination of XML + XSL and HTML is the current content management system. The methods for presenting specific data to the client are mainly XML + XSL or Html. Take CSDN as an example. Currently, both methods exist. For example, in the forum,

Learning YUI. Ext day 6 -- about tree TreePanel (Part2 asynchronous node acquisition) _ YUI. Ext

Learn about YUI. ext day 6-about tree TreePanel (Part2 asynchronous node acquisition) The following describes how to asynchronously retrieve all nodes of a tree. The specific method is very different from the official synchronous node retrieval

Learn about YUI. Ext on the seventh day -- about View & JSONView_YUI.Ext

Learn about YUI. Ext on the seventh day -- about View & amp; JSONView to display a two-dimensional relationship data, we can use the GIRD component. However, in some cases, such as product display and album, we can use the View component to display "

Javascript verification form part 2 _ javascript skills

The second part of the js verification form: JavaScript script, which verifies the data item begin in the form ------------------------------------------------------------------------------- */ Function checkForm (objFrm ){ Var len = 0; Len = objFrm.

Phpmetaphone () function and phplocaleconv () function instance parser _ php instance

This article mainly introduces phpmetaphone () function and phplocaleconv () function instance parsing related information. For more information, see the metaphone key of the php metaphone () function compute string, this article introduces the

The js control text box can only contain Chinese characters, English letters, numbers, and specified special characters.

The js control text box can only contain Chinese characters, English letters, numbers, and specified special characters. The JS control text box can only contain numbers. Javascript control text box can only enter numbers, decimal points

How to merge JavaScript Arrays

This is a simple article about some tips for using JavaScript arrays. We will use different methods to combine two JS arrays and discuss the advantages and disadvantages of each method. Let's first consider the following situation: this is a simple

JavaScript event monitoring and capturing and bubbling

In front-end development, we often need to listen to some events. In this way, as long as the event is triggered on the specified element, a callback is executed to perform related operations. In js, there are three event listening Methods: In front-

How AngularJS creates custom commands

This article describes how AngularJS creates custom commands. We will share this with you for your reference. The details are as follows: This is a translation of instructions from angular developers. It is mainly intended for developers who are

Two methods to redirect URL parameters in JavaScript

Summary of Two Methods for redirecting URL parameters in JavaScript this article mainly introduces two methods for redirecting URL parameters in JavaScript. Let's not talk about them here. Let's look at the sample code directly. I. Character

Javascript example tutorial (20) OLEAutomation (1)

Javascript example tutorial (20) OLEAutomation (1) use OLE Automation in javaScript We have mentioned OLE Automation in Javascript in the previous tutorial. In this tutorial, we will discuss how JavaScript can use the powerful functions of

Analysis on the usage of the js Regular Expression longest match (Greedy match) and shortest match (lazy match)

This article mainly introduces the use of the js Regular Expression longest match (Greedy match) and shortest match (lazy match, this article analyzes the specific usage and precautions of greedy matching and lazy Matching Based on the instance form.

Usage and difference of call and apply in JavaScript

This article describes the usage and differences between call and apply in JavaScript. It has good reference value. Let's take a look at it below. apply accepts two parameters. The first parameter specifies the point of this object in the function

JS traversal of all object attributes on the page and implementation methods

The following small series will bring you an article on all object attributes and implementation methods of JS traversal page. I think this is quite good. Now I will share it with you and give you a reference. Let's take a look at the Javascript

Optimization code writing of the if statement in js

UglifyJS is a tool for compressing and beautifying javascript. In its documentation, I see several methods for optimizing if statements. Although I haven't used it for some trial tests, I can see from here that it has done some beautification work

Total Pages: 5378 1 .... 444 445 446 447 448 .... 5378 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.