Jquery Validate success function not clearning valid labels on re-validate?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a form that uses JQuery Validate plugin to validate the data. For the username field (but not other fields on my form), I would like to display "Username available" next to the field if the username is available. I have this almost working. The only thing that is problematic is when the user edits the username after they enter a valid value, the previous valid message is never removed, so next to the field it reads "Username available Username available", or "Username available Username available Username available" etc. What changes