How to change the error message class for the jquery form field validation plugin

<style>.errors {color:#900};</style>

<script>

$(document).ready(function() {

$(‘#EventForm’).validate({
errorClass:”errors”,
rules: {
FirstName: {required: true}
}
});
});

</script>

Advertisements