As title, javascript:; does not work either. The following results are obtained after the query:In JavaScript, void is an operator that specifies to calculate an expression but does not return a value.
Javascript: void (expression)Javascript: void
finding a foreach function in base2 is the best implementation I have ever seen. Dig out and analyze it. It can traverse various common objects, strings, arrays, and arrays of classes. If the object of the original browser has implemented this
ArticleDirectory
Preface
Javascript Variables
Data Types of variables in Javascript
Conversions between types
Operations between various types of Variables
Back to directory Preface
The success of the Javascript
# The default anchor that contains a location information is # top, that is, the top of the Web page. javascript: void (0) only indicates a dead link. This is why sometimes a long page browsing link is clearly #. However, "#" contains a location
1. syntax structure
1.1. Case Sensitive
Javascript scriptProgramIt is case-sensitive and has the same letters. Different cases indicate different meanings. In JavaScript scripts, variable names, function names, operators, keywords, and object
This article describes seven JavaScript encryption methods:
During webpage creation (in fact, webpage Trojans), the most worrying thing is the JavaScript code running on the client IE that I wrote so hard.CodeIt is often easily copied by others,
This articleArticleThe same is to solve a question in the blog: Question: About how JS reads the gridview and how checkbox is selected. Of course, half of the Implementation below is done to solve this problem, and the other half is done by another
In IE, there is a little known feature called Conditional compilation. supported since ie4, this feature starting getting some attention when it began showing up in some Ajax related javascripts. an absolute form of object detection, Conditional
JavasSummary statement for getting HTML Dom node elements !!, This article is intended for othersArticle, Because it is easy to use, it feels very practical, so it has been used for future use !!Thank you for your original author !!!,For Web
ReinforcementJavascriptThe basic knowledge is intended for future researchJqueryThe source code paves the way.
I recently reviewedJavascriptData, found a function:
Function Format (s) {var ARGs = arguments; var pattern = new Regexp ("% ([1-
See todayJavascriptA summary of the experience is as follows:
InJavascriptDefine a function in two ways:
The first is:Function FTN (){}
The other is: Var FTN = function (){}.
The two statements are equivalent. But before
Regexp object
The Regexp object represents a regular expression, which is a powerful tool for matching string execution modes.
Direct amount syntax
/Pattern/attributes
Syntax for creating a Regexp object:
New Regexp (Pattern,Attributes);
When writing JavaScript, we often encounter the concept of this. The point of this is always a headache. Today, I will summarize this in one sentence based on my understanding of this and some experience. So this sentence is:
This directs to the
1. Data Type
Javascript contains six data types: undefined, null, String, number, Boolean, and object. Among them, the first five are the original data type, and the object is the object type.
The object types include object, function, String,
Javascript smart popups that don't pop off screenBy nannette Thacker-02/04/2001 updated: 6/4/01
6/4/01 Update:Unfortunately, please people trying to use this function are clueless how JavaScript works, so they are asking how to make it work
Keywords: javascript Performance Optimization
Go below: http://www.nirvanastudio.org/javascript/improve-javascript-performance.html
With the development of the network, network speed and machine speed, more and more websites use a variety of client
Details about global variables in the Javascript framework
This article describes global variables and simple code in the Javascript framework. We hope that this article will give you a new understanding of global variables.
For the
I have read some articles on js webservice calling on the blog and Csdn, and it feels good. However, some of the programs they provide have more or less errors. I debugged them and posted them, you can share with us and record your learning.
I.
Var myDate = new Date (); myDate. getYear (); // obtain the current year (2 digits) myDate. getFullYear (); // obtain the complete year (4 digits, 1970 -????) MyDate. getMonth (); // obtain the current month (0-11, 0 represents January) myDate.
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