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>
原文地址:https://www.cnblogs.com/tinyphp/p/3357555.html