But the use of the document. The form. Submit (); Is no longer a validation error, submitted directly, what reason be? How to use the code to forced implementation step to verify?
CodePudding user response:
1. Check whether the button event for validation of the. 2. The document. The form submit () is to submit the form directly trigger events form submission, rather than the button event
3. Verify operation can be changed to form button events
CodePudding user response:
General can be understood as the document storage class, that is, the data can be retained by a command to save directly, this is a class background data, used to receive data reception, general validation at the front desk, backstage receive data without repeated verification, validation background generally associated with security, and more complex data integrity test, should be like that, do you have some understanding deviation, think hard, you will know,CodePudding user response: