是否满足于使用JQuery Validate?

问题描述 投票:1回答:1

我有这行代码。

'<div contenteditable="true" class="test">heredasdsa</div>'

每当我点击它并尝试编辑它时,我会收到以下错误提示

jquery.min.js:2 Uncaught TypeError: Cannot read property 'jQuery2240134174842298528722' of undefined
at M.get (jquery.min.js:2)
at M.access (jquery.min.js:2)
at Function.data (jquery.min.js:3)
at HTMLDivElement.b (application.js:8317)
at HTMLFormElement.dispatch (jquery.min.js:3)
at HTMLFormElement.r.handle (jquery.min.js:3)

当我转到问题所在的特定代码行时,它将我带到jquery.min.js并特别强调下面的代码块作为错误。

return void 0 === b ? this.cache(a) : a[this.expando] && a[this.expando][b]

我根本不知道如何解决这个问题。 *抱歉如果我没有正确发布,这是我第一次在stackoverflow上发帖。

jquery validation contenteditable
1个回答
1
投票

显然,这是Jquery Validate插件的已知错误。只需更新到最新版本。

© www.soinside.com 2019 - 2024. All rights reserved.