jQuery---$(...).percentageLoader is not a function

浏览器报错:$(...).percentageLoader is not a function

jQuery---$(...).percentageLoader is not a function

到调用该方法的html文件中:

jQuery---$(...).percentageLoader is not a function


按ctrl,点击percentageLoader 跳转到js文件中percentageLoader 相关部分:

jQuery---$(...).percentageLoader is not a function

发现要用.fn  , 于是加上.fn

清除浏览器缓存的临时文件,刷新界面,又报错:cannot read property ‘percentageLoader’ of undefined:

jQuery---$(...).percentageLoader is not a function

哎哟,我滴个神呐。。最终我翻看了《JavaScript权威指南(第6版)》

第19章 jquery类库,

jQuery---$(...).percentageLoader is not a function

使用$.noConflict();就解决了问题:

jQuery---$(...).percentageLoader is not a function

综上所述:

当浏览器报错:$(...).percentageLoader is not a function,

使用$.noConflict();即可解决。



更多iOSAndroidPythonJavaMySQL的文章,请点击:

http://blog.****.net/jamiecheung


更多JavaUnity3D的文章,请点击:

http://blog.****.net/u010841622