Mobile phone number validation latest regular expression
Generally, the form page needs to fill in the mobile phone number. To verify whether the mobile phone number entered by the user is correct, we need to use the regular expression to match the mobile phone number segment. If it is in the operator number segment, the number is correct. Therefore, it is necessary to know the latest segment number ...
Added by lJesterl on Tue, 01 Mar 2022 21:32:39 +0200
Front End Prerequisites--Canvas
Life is meaningless if you don't write code to pretend. It's all 2020. If you're doing front-end development and you don't even use canvas, what do you want to do? Following the author, let's see what canvas is, what it can be used for, and which products are made by canvas.
Introduction to Canvas
1.canvas is a new tag for html5, which is a ...
Added by f8ball on Tue, 01 Mar 2022 20:32:29 +0200
Upgrade log4j2 of springboot to solve the vulnerability
Recently, major vulnerabilities have been revealed in log4j2. The company also urgently requires all projects to check themselves and upgrade the version of log4j to a safe version
At present, we are using springboot version 1.5.9, and the built-in log4j2 is version 2.7. Although mybatis is integrated, the built-in version of log4i is still b ...
Added by twatkins on Tue, 01 Mar 2022 14:10:40 +0200
Advanced JavaScript how to get and control HTML elements in JavaScript (explained in detail)
Family, every other day with new knowledge to meet you! Today we are learning how to get and control HTML elements in our JS. If you want to learn JavaScript well, you should persevere in learning it. If you don't understand anything, you can confide in me or comment below and you will reply when you see it.
I How to get HTML elements in JS
...
Added by rinteractive on Tue, 01 Mar 2022 12:16:13 +0200
JavaScript -- BOM programming
Hello! Hello, everyone, let's meet again ~ next, let's learn today's little knowledge~
I How to get HTML elements in JS?
Detailed explanation:
1. Through the id attribute in the tag
document.getElementById();
eg:
<1>. First, let's define a button and div
<!DOCTYPE html>
<html>
<head>
<meta charset= ...
Added by emcb_php on Tue, 01 Mar 2022 12:13:32 +0200
[advanced] pdf generation (watermarked), pdf preview (pagable), pdf printing: a one-stop solution for the whole stack
preface
Every front-end developer will always encounter some needs related to PDF in his life, but searching online articles is mostly the realization of some functions. It is not easy to obtain a complete scheme that meets his own needs. Based on this, combined with my relevant work experience, I sorted out a set including front-end PDF ge ...
Added by taldos on Tue, 01 Mar 2022 04:29:02 +0200
JS case: support Canvas electronic signature function on PC and Mobile
preface: During this period of time, a new requirement was encountered during the project iteration. A Pc version electronic signature function was implemented based on react, and pictures were generated and uploaded. So I thought signature_pad And used this plug-in in the project I have to say that the wheels made by others are really fragrant ...
Added by bubatalazi on Mon, 28 Feb 2022 14:24:18 +0200
html css early learning notes
HTML
1. How to understand HTML semantics
What is semantics
Use the correct html tags to display the corresponding elements. As in paragraph
, title, etc.
Why focus on semantics
For people, it is easy for the team to develop and maintain, and the code has high readability. When CSS is not loaded, it can also present a better content structu ...
Added by jayrulez on Sun, 27 Feb 2022 05:00:22 +0200
HTML, JSP paging ideas and code implementation (both non plug-ins and plug-ins)
Non plug-in, pure code implementation
This is the effect diagram of code implementation:
First, if the normal pagination is written for the first time, you can modify it on this basis after all the tables are written.
Parameters to be added: start from the first few, query several pieces of data, pageSize (self determined), to ...
Added by BenS on Sun, 27 Feb 2022 04:37:33 +0200
HTML learning notes
Form labels and form labels
form
Form creation
What is a form
Forms are used to collect information, such as registration, login, sending comments and feedback, purchasing goods, and so on
Created form
<form action="save.php" method="post"></form>Start with the < form > elementThe action attribute indicates the web ...
Added by grantf on Sat, 26 Feb 2022 17:14:07 +0200