Home  >  Article  >  Web Front-end  >  JQuery extension plug-in Validate-4 sets the style of error prompt_jquery

JQuery extension plug-in Validate-4 sets the style of error prompt_jquery

WBOY
WBOYOriginal
2016-05-16 18:02:391010browse

Let’s first use firebug to view the html error message generated by JS in the previous example:

From the picture, we find that the error message is placed in a label tag, and there is a class style error. As long as the css style is set for the error in the
label tag under the signupform, the display result should be modified. Now, the added css code is as follows:
Copy code The code is as follows:



Display the results when running:

Source code download
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn