There is an error in form validation in JQuery. You can use the following method to view the error information of the specific input
If(!$('form').valid())
{
$($('form').validate().errorList).each(function (index, item) {
Console.log($($(item).attr('element)).attr('name') ' ' $($(item).attr('element)).attr('message') );
});
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn