Training notes for the eighth web front end (JS form, Jquery native Ajax implementation process)
I form
Get common forms (first two)
1)document. name attribute value of the form
Get the form object through the name attribute value of the form.
2)document.getElementId("id attribute value");
Get the form object through the id attribute value of the from tag.
3)document.forms [name attribute value of the form]
Get the form o ...
Added by Adrianc333 on Sat, 12 Feb 2022 17:28:33 +0200
The 8th web front-end training notes (HTML)
1, Get form
1. Document getelementbyid ("ID attribute value"); Get the form object through the id attribute value of the from tag 2. document. name attribute value of the form; Get the form object through ...
Added by markvaughn2006 on Sat, 12 Feb 2022 16:39:15 +0200
To make "IPC" calls with JS more gracefully, I wrote the event invoke library
backgroundThe team has a node recently JS new module needs to be developed, involving the management and communication of multiple processes. The simplified model can be understood as some methods that need to frequently call the worker process from the master process. A simple design and implementation is implemented event-invoke The library c ...
Added by twm on Sat, 12 Feb 2022 16:28:03 +0200
Solution of adding explicit watermark to web pages at the front end
Solution of adding explicit watermark to web pages at the front endIn order to prevent information leakage and protect copyright, we often use watermark in the front end.Of course, watermark can also be divided into bright watermark and dark watermark. Today, we will realize the bright watermark and full screen coverage at the front end.To crea ...
Added by Senate on Sat, 12 Feb 2022 15:46:51 +0200
JavaScript(11): event proxy
In JavaScript, event proxy, also known as event delegate, is to bind the listening event of the child object to the parent object of the event source object and trigger the event by using the event bubble principle. Advantages: 1. Improve performance without binding events to all objects; 2. Flexible and dynamically created new object ...
Added by bizshop on Sat, 12 Feb 2022 15:05:30 +0200
Vue basic review 01-(Vue introduction, Vue instruction)
Getting started with Vue
Vue introduction
(1) What is Vue?
Vue is a JavaScript framework
(2) What's Vue for?
Building user pages
(3) What are the characteristics of Vue?
Progressive
Vue has two important features
Two important features of vue framework?
Data driven: without dom operation, Vue will automatically render the page acc ...
Added by The14thGOD on Sat, 12 Feb 2022 14:58:03 +0200
NPM package management and modularization
package introduction
The package specification of CommonJS allows us to combine a set of related modules to form a complete set of tools The package specification of CommonJS consists of two parts: package structure and package description file Package structure: used to organize various files in the package Package description file (pa ...
Added by nicko on Sat, 12 Feb 2022 14:49:20 +0200
The 8th web front-end training (JavaScript)
1 form
Using front-end js to verify the form can reduce a lot of unnecessary trouble and improve user satisfaction. Otherwise, as soon as you submit data, you will go directly to the back-end server and find that you didn't fill in the name after a series of verification, which will waste a lot of time.
1.1 get form
& ...
Added by englishtom on Sat, 12 Feb 2022 14:31:31 +0200
Spring ----------- spring and the Web
preface
To use the Spring framework in a web project, we must first solve the problem of obtaining the Spring container in the web layer (here referred to as Servlet). As long as the Spring container is obtained in the web layer, the Service object can be obtained from the container.
1, Problems of using Spring in Web projects
Exampl ...
Added by dc277 on Sat, 12 Feb 2022 12:51:21 +0200
JavaScript knowledge points sorting - function
catalogue
1, Concept of function
2, Use of functions
2.1 function declaration
2.2 calling functions
2.3 function encapsulation
3, Parameters of function
3.1 formal parameters and arguments
3.2 mismatch between the number of function formal parameters and real parameters
4, Return value of function
4.1 return statement
4.2 return term ...
Added by onlinegs on Sat, 12 Feb 2022 12:11:41 +0200