问题
Is there a way to only show the latest error-message thrown, when using the validation-plugin for jQuery?
回答1:
I think you should look into the groups
and errorPlacement
options to the validate
method. That should work out for you.
jQuery Validation validate( [options] )
来源:https://stackoverflow.com/questions/1816702/jquery-validation-only-show-one-error-message