jQuery:validate设置样式
jquery.validate.js插件里面的样式设置:
...
errorClass: "error",
validClass: "valid",
...
<style type="text/css"> /************jQuery.Validate插件样式开始********************/ label.error { background: url(images/error.png) no-repeat 0px 0px; color: Red; padding-left: 20px; } input.error { border: dashed 1px red; } /************jQuery.Validate插件样式结束********************/ </style>
本文来自博客园,作者:tinyphp,转载请注明原文链接:https://www.cnblogs.com/tinyphp/p/3357555.html
向着星辰与深渊,博客园加油

浙公网安备 33010602011771号