Code to control font size through JavaScript
This script changes the font size (<P> tag) of any text in a paragraph. If you want to change the text editing within other tags, getElementsByTagName("P"); part.
2011-10-10
Input box filters non-numeric js code
This article mainly introduces the non-numeric characters in the js input box. It is very simple, but very practical. Friends who need it can refer to it.
2014-09-09
Example of JavaScript method to dynamically add Form form elements
This article mainly introduces JavaScript to dynamically add Form form elements. It analyzes the usage methods and related precautions of JavaScript form element operation related functions based on examples. Friends who need it can refer to it.
2017-08-08
Use example code to generate a subset of fonts
This article mainly introduces the use of generating font subsets. This article introduces you very detailed through example code, which has certain reference value for your study or work. Friends who need it can refer to it.
2020-05-05
How to remove whitespace characters at both ends of strings through javascript
This article mainly introduces how to remove blank characters at both ends of strings through JavaScript. The article introduces the example code in detail, which has certain reference value for everyone's learning or work. Friends who need it can refer to it.
2020-02-02
Javascript sort() sort() sorts the elements in an array in detail
In this article, the editor will compile a related knowledge point for you about sorting elements in an array by javascript sort(). Friends who need it will learn it.
2019-10-10
JavaScript non-blocking loading and defer and async detailed explanation
JS has a blocking feature. When the browser executes js code, it cannot do other things at the same time. When all browsers download JS, it will block all other activities, such as downloading other resources, rendering of content, etc. Only after JS download, parsing and executing are completed, other resources will continue to be downloaded in parallel and presenting content.
2017-02-02
Detailed explanation of event delegation instances for javascript performance optimization
This article mainly introduces the usage of event delegation in JavaScript performance optimization. It compares and analyzes the specific usage and advantages of event delegation in JavaScript in combination with the example form. Friends who need it can refer to it.
2015-12-12
Detailed explanation of method examples
The function is to directly define a new attribute on an object, or modify an existing attribute. This article mainly introduces the method. Friends who need it can refer to it.
2022-12-12
JavaScript to write shell scripts[translation]
Do you understand JavaScript? Do you need to write a shell script? Then you should try it, it is easy to install and is very suitable for learning it by writing shell scripts
2012-09-09