本文介绍了关于core.js的按钮单击出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


以下是我点击按钮时遇到的错误

Below is the error i am getting on button click

未捕获的TypeError:无法读取未定义的属性'querySelector'
   在OpenListItem(core.js:1)
   在HTMLButtonElement.onclick(Test.aspx:563)

Uncaught TypeError: Cannot read property 'querySelector' of undefined
    at OpenListItem (core.js:1)
    at HTMLButtonElement.onclick (Test.aspx:563)

用脚本编辑器Web部件编写的代码.

Code written in script editor web part.

请让我知道需要进行哪些更改.

Please let me know what changes need to be done.

推荐答案

https://stackoverflow.com/questions/36447302/uncaught-typeerror-cannot-read-property-queryselector-of-undefined

https://stackoverflow.com/questions/36447302/uncaught-typeerror-cannot-read-property-queryselector-of-undefined

https://stackoverflow.com/questions/36447302/uncaught-typeerror-cannot-read-property-queryselector-of-undefined

https://stackoverflow.com/questions/36447302/uncaught-typeerror-cannot-read-property-queryselector-of-undefined


这篇关于关于core.js的按钮单击出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 21:08