General.Web/wwwroot/lib/jquery.validation/1.14.0/readme.html
(完整代码) 693BThis is a known bug in jquery validator plugin. However, this has been fixed now in this pull request, and should be released soon.
Fix 1:
If you cannot wait for a release, the fix is to put this code at the start of delegate() method. The solution has been made by @svrx.
// Set form expando on contenteditable
if ( !this.form && this.hasAttribute( "contenteditable" ) ) {
this.form = $( this ).closest( "form" )[ 0 ];
}
As you can see the fix is simply to set the form to the parent element.
Fix 2:
As @chrisAtomix said in his comments, don't use the latest jquery validator plugin. Instead use a lower version where contenteditable feature has not been added. He is using v1.14.0.
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
