阅读

bootstrap 使用button loading状态错误

javascript  2016-01-11 19:26

Uncaught Error: cannot call methods on button prior to initialization; attempted to call method 'loading'

原因:由于bootstrap 和 jquery-ui 冲突引起的。

方法:调整载入的js顺序,使jquyer-ui 插件先载入然后再载入 bootstrap 。


广告

【腾讯云】618云上GO!云服务器限时秒杀,1核2G首年95元!
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。

广告

618优惠礼包限时领取,更有2000元飞天会员礼包等你来拿
上云优惠聚集地,云小站专属代金券可叠加产品折扣使用