object Object has no method

北战南征 提交于 2019-12-07 07:57:03

问题


Right having a crazy issue here.

Cant really paste the code so this is more a theory question

I've got jquery included first, then all my jquery plugins

all the plugins are loaded as a dropped a console.log inside each to show it was linked.

however on EVERY plugin when it tries to use it it returns

Uncaught TypeError: Object [object Object] has no method 'PLUGIN FUNCTION'

theoretically what could be happening


回答1:


The correct answer seems to be...

I somehow was calling jQuery twice, so the 2nd initation of jQuery was unloading all the previous loaded plugins.



来源:https://stackoverflow.com/questions/11261009/object-object-has-no-method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!