简体   繁体   中英

jQuery UI TypeError: e.widget.extend is not a function

I have updated my jQuery files including jQUery UI to use the tooltip feature.

But now Javascript is dieing with the following error:

TypeError: e.widget.extend is not a function

Can anyone help me?

jQuery Ui被包含两次(因为另一个bug而第二次隐藏)问题解决了

I was getting the similar error for tag-it.min.js

b.widget is not a function tag-it.min.js

When I check, found my files were loading in this case

<script src="/scripts/tag-it.min.js">
<script src="/scripts/jquery-ui-1.11.1.js">

Just reverse the order and it is fixed

Might be it can help someone

I had to add wp_deregister_script( 'jquery-ui-widget' ); to admin-footer.php for an exception for widgets.php file only.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM