jquery validation styling code example
Example 1: how to change the color of error message in jquery validation
.error {
color: red;
background-color: #acf;
}
Example 2: the red validation class doesn't apply on jquery
highlight: function(element) {
$(element).parent().addClass('has-error');
},
unhighlight: function(element) {
$(element).parent().removeClass('has-error');
},