简体   繁体   English

Summernote的jQuery验证错误

[英]jQuery Validation errors with summernote

I use a jQuery Validation Plugin and a summernote js library. 我使用jQuery验证插件summernote js库。 I noticed that jquery validation plugin throws the errors to browser console and I can't understand, why? 我注意到jquery验证插件将错误抛出到浏览器控制台,我听不懂,为什么?

I use follow lib versions: 我使用跟随lib版本:

  • jQuery Validation: 1.15.0 jQuery验证: 1.15.0
  • Summernote: 0.8.1 夏季笔记: 0.8.1

HERE IS A NOT WORKING DEMO 这是不工作的演示

Just open the browser console and try to type something using summernote and you will see errors like this: 只需打开浏览器控制台,然后尝试使用summernote键入内容,您将看到类似以下的错误:

Uncaught TypeError: Cannot read property 'jQuery2210050014222928296052' of undefined

Also I noticed this problem does not occur when I use jquery validation 1.14.0 version 另外我注意到当我使用jquery验证1.14.0版本时不会发生此问题

HERE IS A WORKING DEMO 这是一个工作演示

The difference between these demos is a jquery validation plugin version. 这些演示之间的区别是jquery验证插件版本。 I want to find out what wrong with 1.15.0. 我想找出1.15.0的错误所在。 Could anybody help me with this problem? 有人可以帮我解决这个问题吗?

I have the same issue. 我有同样的问题。 The form works but on the key-up event on summernote it gives that error. 该表格可以使用,但是在summernote的按键事件上,它会给出该错误。 We will have to use an older version until thay fix it.... 在修复之前,我们将不得不使用旧版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM