我在“Jquery UI”的网页上拥有几个多功能箱子,在“ Chrome和amp”中工作做得很好;Safun,但不是出于某种原因。
Error: $.widget is not a function
Source File: http://localhost:3000/javascripts/jquery.multiselect.js?1302660373
Line: 563
任何想法为什么?
编辑:该行本身属于公开功能权利,即“//对初始化后的选择改变作出反应”
// open the menu
open: function(e){
var self = this,
button = this.button,
menu = this.menu,
speed = this.speed,
o = this.options;
widget: function(){
return this.menu;
},
// react to option changes after initialization
_setOption: function( key, value ){
var menu = this.menu;
switch(key){
case header :
menu.find( div.ui-multiselect-header )[ value ? show : hide ]();