Uncaught TypeError: object is not a function

Created by Jerry Wang, last modified on Aug 24, 2014

在Chrome里使用BSP page遇到如下error:

Uncaught TypeError: object is not a function

错误指向onclick property:

Uncaught TypeError: object is not a function

然而其指向的my_upload function在script file里已经正确地被实现:

Uncaught TypeError: object is not a function

根据link http://blog.sina.com.cn/s/blog_70c2f37801011x3j.html,该问题是由于html page里有和my_upload同名的控件出现:

将名字更改后错误即消失。

Uncaught TypeError: object is not a function

上一篇:Uncaught SyntaxError - unexpected end of input


下一篇:UI5 table display visible row count logic calculation calculate