我想更改jQuery验证在发生错误的输入框中应用的类。
更改此内容。
<input id="firstname" name="firstname" type="text" value="" maxlength="100"
class="error">
到这个
<input id="firstname" name="firstname" type="text" value="" maxlength="100"
class="customErrorClass">