This course uses the development of "jquery verification form" as a project example to explain the ideas for developing "jquery verification form", as well as the code implementation logic, etc.
Preparation
Create a new form.html page, write the basic HTML code, and then write the form elements in the body
Text boxes and password boxes and buttons
Introduce jquery files
<script src="http://libs.baidu.com/jquery/1.9.1/jquery.js"></script>
Implementation function:
After clicking the submit button, if there is no content in the form, a prompt message will be given. When there is content, click the form page, and the prompt message will not exist!
Project flow chart: