JavaScript retains 2 custom functions with two decimal places
This article mainly introduces JavaScript to retain two custom functions that have two decimal places. Friends who need it can refer to it.
2014-05-05
Share your own mine-sweeping game with JS
Quote jQuery, saving a lot of judgments on mouse clicks. The interface is obviously copied from Windows minesweeping. The detailed content is included in the comments. Interested friends can refer to it.
2016-02-02
Introduction and reflection of the principle of least knowledge in JavaScript
The least knowledge principle (LKP) means that a software entity should interact with other entities as little as possible. The software entity here is a broad concept, including not only objects, but also systems, classes, modules, functions, variables, etc.
2022-08-08
Detailed explanation of the g flag in JavaScript regular expression
The idea of regularity is the same, but the specific writing method will be different. The following article mainly introduces relevant information about the g flag in JavaScript regular expressions. The article introduces the example code in very detailed information. Friends who need it can refer to it.
2022-03-03
Detailed explanation of the implementation of h5 page onShow in the mini program and cross-page communication solution
This article mainly introduces the implementation of h5 page onShow and cross-page communication solutions in the mini program. The editor thinks it is quite good. I will share it with you now and give you a reference. Let's take a look with the editor
2019-05-05
js simple paging plugin code example
This article mainly introduces js simple paging plug-in code examples. The example code is introduced in this article in detail, which has certain reference value for everyone's learning or work. Friends who need it can refer to it.
2019-09-09
Practical examples of the usage of the propt() function in JavaScript
Prompt in JavaScript is a function that is used to display a dialog box in the browser and prompt the user to enter some information. This article mainly introduces to you the practical use of the propt() function in JavaScript. Friends who need it can refer to it.
2023-11-11
The specific implementation of input link page, opening new web pages, etc.
Input can link to a certain page, return, open a new web page, open a new window without borders, etc. This article has compiled some, and interested friends can refer to it.
2013-12-12
How to change the font size of an article
This article mainly introduces how to change the font size of articles by js. When you use word documents, the toolbar provides you with options to change the font size. How does js change the font size of articles? The following is revealed to you. Friends who need it can refer to it.
2016-01-01
Simple example of writing a page translucent mask effect in JavaScript
This article mainly introduces a simple example of the translucent mask effect of JavaScript writing pages, including a full-screen div layer masking method. Friends who need it can refer to it
2016-05-05