In the processing page for receiving data, the received data value is passed by name. The operation method is as follows:
1. Open or create a new web project and create html, js and other files.
2. Use submit type input to submit the form. At the same time, you can use onsubmit="return check()" in the form to implement field verification.
3. You can also use button type input through onclick="function().
4. This is the js file code, which calls the submit() method to submit the form. Fields can be verified before executing the submit() method.
5. Finally, use the jquery method, which is relatively simple, convenient and clear, but requires the introduction of the jquery class library.