Jquery. validate is a B/S client verification framework based on jquery. With the advantages of jquery, we can quickly verify some common input, greatly improving the development efficiency, the following are my study notes:
Jquery extension validate-1 basic usage |
Jquery extension validate-2 sets verification rules through Parameters |
Jquery extension validate-3 sets error information through Parameters |
Jquery extension validate-4: Set the error message Style |
Add a custom Verification Method to the jquery extension validate-5 |
Validation of jquery extension plug-in Validate-6radio, checkbox, select |
ExampleSource code download
Note: validate only makes verification easy, simple, and uses Js in essence. No matter how powerful JavaScript verification is, when you disable JS or directly initiate a request using a machine, data integrity cannot be ensured. Do not pin your hopes on the client for verification. In my opinion, the server must perform another verification on each client.