A JavaScript compression tool: X2JSCompactor

A JavaScript compression tool written last year for js compression of x2blog.cn. However, it has never been released to the outside world. It is not good to add a number of articles.Overview:X2JavascriptCompactor can Package Multiple Javascript

JavaScript is not just a script

In this technical forum, I would like to write my opinion on JS. HohoJavaScript seems to have always been regarded as a parsing script language, and developers often take a close look at it. I think that there is not much difficulty in a script. It

Set of mathematical functions in Javascript

In Javascript, mathematical methods can be divided into the following types:Constans (constant), power functions (multiplication function), trigonometic functions (trigonometric function), rounding functions (rounding function), random numbers

Edit the Form Verification class

Autor: edit the prodigal sonFrom: http://bbs.51js.com/thread-68161-1-1.html// Form Verification classFunction ValidatorClass (){Var IsError = false;// Check the name. Only Chinese characters, letters, numbers, and underscores can be entered.This.

Javascript operation text box readOnly

This morning I got a question about the readOnly attribute of the text box,Specifically: use JavaScript to modify this attribute.At the beginning, I couldn't get the value of this attribute in Javascript, so I couldn't find it on the Internet. if I

JavaScript and functional programming

Author: yueyingRemember: function programming is not a function programming !!!23.4 functional programming23.4.1 what is functional programmingWhat is functional programming? If you ask in such a straightforward way, you will find that it is a

Description of the replace method in JavaScript

If you use str. replace ("-","! ") Will only Replace the first matched character.Str. replace (/\-/g ,"! "), You can replace all matched characters (g is the global flag ).Replace ()The replace () method returns the string that results when you

Difference between JavaScript Break and Continue

There are two types of statements that can be used in a loop: break and continue.JavaScript break and continue DeclarationThere are two special declarations available in the loop: break and continue.BreakThe break command can terminate the running

If the js check client is not firefox, a download prompt is displayed.

Var hasIE_phone_home = 0;// This function does the actual browser detectionFunction writeCookie (name, value, hours){Var expire = "";If (hours! = Null){Expire = new Date (). getTime () + hours * 360000000 );Expire = "; expires =" + expire.

Click-copy Code implemented in javascript

title if you like this site, recommend it to your friends! The following is a code snippet:Copy codeThe Code is as follows: http://www.jb51.net [ click to copy ] http://www.jb51.net [ click to copy ]

Js-implemented cool connection tips

cool connection tip webpage special effects: This is a good download site for website tutorials, FAST program source code programmer's paradise Article tutorial here Delphi good stuff Chinese software programmers must read refresh once, and

Implementation principle of Online Editor (compatible with IE and FireFox)

Online editors are very useful in our daily project development (such as news systems). They can easily edit articles online, saving FrontPage and other tools. So how does one implement the browser's online editing function? Internet Explorer is

How to concatenate multiple processing procedures with JavaScript events

Recently I used the JavaScript event processing mechanism and found some information.When I used to write JavaScript programs, all events usedCopy codeThe Code is as follows:Object. event = handler; . This method is common for Internet Explorer,

File Operations in Javascript

I. function implementation core: FileSystemObject objectTo implement file operations in javascript, FileSystemobject objects are primarily used.Ii. FileSystemObject ProgrammingIt is very easy to program with FileSystemObject object. Generally, the

A Brief Introduction to location usage in javascript

Previously I wrote a piece of window. location. href is used to refresh another framework page. Now I have read the detailed usage of locaiton, which is somewhat improved. Now I have compiled it into js to facilitate reading and share it with my

Use the operators & quot; | & quot; and & quot; & amp; In JScript ;&

Among the many operators in JScript, three logical operators are provided.&&,|And!Oh ?! Is provided in advanced languages. According to our normal understanding of logical operations, the logical operation result should be true or false. However,

''Var ''In JScript defines the scope of the variable.

I don't even remember when I saw the JScript syntax tutorial. It means it is completely legal to ignore the var keyword when declaring a variable. At that time, because JavaScript was thought to be the loosely-typed language, var may be a decoration.

Different prototype methods may affect the debugging solution.

I wrote an article last time to discuss the difference between the two implementations of the JavaScript class definition prototype method ". After the study, we found that apart from the different methods of initialization, we did not find anything

Mixed Use of encode script and normal script and Solution

When I first performed script encoding six months ago, I had no experience in using it. So I asked 51js if there was any problem with mixing the encode script and the normal script? The results did not receive any constructive comments, which at

Total Pages: 5378 1 .... 1328 1329 1330 1331 1332 .... 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.