You can save this page and upload it to your website. In this way, you have a base64 encryption and decryption function page, allowing users to access your webpage.
base64 encryption base64
I told you how to move people in the first two lectures. Today, let's take a look at how to implement the situational dialogue similar to the legend of the Three Kingdoms. The specific link is shown below.
I. Preface
I believe everyone will remember
Today I have made several tutorials on how to use asp.net with Javascript. Now let's look back at the Javascript scripts, which are not well written and too complicated. Extracted and reconstructed.
Previous 1:
Copy codeThe Code is as follows:
Preface
In the previous article, we defined matrices. In this article, we will add some common methods to matrices.
ToString Method The toString method is usually used to convert an object into a string description, so we define this method as an
It should be noted that here we only summarize the commonly used and relatively simple syntaxes of regular expressions, rather than all syntaxes. In my opinion, I have mastered these commonly used syntaxes, enough for daily applications. Regular
In ECMAScript, there are a lot of operators and operators. In this article, we will sort them by the usual categories. However, before sorting them out, Let's explain them first:
1. Although the title is an Operator and an Operator, it seems to me
This article will review the basic syntax in the ECMAScript specification. Good English friends can directly read the official documentation. JavaScript is essentially a type of C language. If you are familiar with C language, you can easily read
1. Components of most browsers
The three components at the bottom layer are the network, UI backend, and js interpreter. The function is as follows:(1) network-used to complete network calls, such as http requests. It has platform-independent
Copy codeThe Code is as follows: function obj2str (o ){
Var r = [];
If (typeof o = "string") return "\" "+ o. replace (/([\ '\ "\])/g," \ $1 "). replace (/(\ n)/g, "\ n "). replace (/(\ r)/g, "\ r "). replace (/(\ t)/g, "\ t") + "\"";
If (typeof
In daily website development and web application development, we often need to effectively call functions related to date and time formats for Javascript processing, javascript contains some of the most basic built-in processing methods. Of course,
Introduction
In this chapter, we will introduce closure, a common topic in JavaScript ). In fact, we have all talked about closures. However, we should try to discuss the closure from a theoretical point of view to see how the closure in ECMAScript
In The morning, I saw The article "JavaScript Weekly Guide" [Phase 3], in which I found an article (Extending JavaScript-The Right Way). I think it is not bad. I will share it with you through translation, this document is not translated word by
1. convert an integer to a numeric value at the same time:
'10. 567890 '| 0
Result: 10
'10. 567890 '^ 0
Result: 10
-2.23456789 | 0
Result:-2
~~ -2.23456789
Result:-2
2. date to numeric value:
Var d = + new Date (); // 1295698416792
3. convert a
Rounding in decimal format
These two sections of code help you round the list and show the price or order more useful for you:
Code 1:
Copy codeThe Code is as follows: function CurrencyFormatted (amount ){
Var I = parseFloat (amount );
If (isNaN (I)
So what is the difference? Let's take a look at an example:
A list of level-2 cascade dynamic drop-down lists with level-1 category id = "vSort0 ".
Copy codeThe Code is as follows:
Function changelocation (id)
{............}
...... Omitted ......
In general, functions in JavaScript can:
◆ Assigned to a variable
◆ Attributes assigned as objects
◆ Passed into other functions as parameters
◆ Returned as a function result
◆ Create with words
Function object
1.1 create a function
A method of
You can test your knowledge in this area.
After the question is answered, I will refer to the original blog post and comment on the question analysis, and everyone is competing.
The quiz:
1:
1 & 3
2:
1 & "foo" | 0
3:
1 | "foo" & 0
4:
(1, 2, 3)
5:
X =
How should I trigger a keyboard event using the input method? Is an event triggered every time a key is hit, or is the event triggered only after the word selection is completed? How can I trigger the entire sentence? Different operating systems and
Var ie =! -[1,];
This code was called the world's shortest IE judgment code before IE9. The code is short but contains a lot of basic javascript knowledge. In this example, the toString () method of the array is called before code execution. When
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