duanqi6007 2018-01-19 17:00
浏览 43

Magento 2.1中的Javascript冲突

I am using an External javascript in the magento2 Block. That external javascript is calling its own jquery library. And this is conflicting with the Magento jquery.

Now, am getting this errors:

  1. Uncaught TypeError: $.widget is not a function

  2. Uncaught TypeError: Cannot read property 'timepicker' of undefined

  3. Uncaught TypeError: Cannot read property 'initObserversForPopup' of undefined

Please help me Resolving this issue.

I also try to add this external js at the Head section and at the end of body tag.

Regards,

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 路易威登官网 里边的参数逆向
    • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
    • ¥50 需求一个up主付费课程
    • ¥20 模型在y分布之外的数据上预测能力不好如何解决
    • ¥15 processing提取音乐节奏
    • ¥15 gg加速器加速游戏时,提示不是x86架构
    • ¥15 python按要求编写程序
    • ¥15 Python输入字符串转化为列表排序具体见图,严格按照输入
    • ¥20 XP系统在重新启动后进不去桌面,一直黑屏。
    • ¥15 opencv图像处理,需要四个处理结果图