JQuery手风琴类型错误:this.slideshow未定义
JQuery Accordion TypeError: this.slideshow is undefined
我有一个动态添加的手风琴(使用AJAX)。
在Chromium(v.45.0.2454.101)中,一切正常。然而,在Google Chrome和Firefox中,手风琴并没有创建,我在控制台中收到了以下错误消息:
TypeError: this.slideshow is undefined
我的网站是在线的。这是一个有问题的页面。(手风琴reg是不可见的,因为如果效果良好,它会褪色)
加载并设置页面正文后出现错误,如下所示:
$('#BODY').html(newBody);
处理newBody的HTML,执行带有$(…).account(…)的脚本(registration.js)。执行进入JQuery UI的深处。第行中手风琴的_create功能出现错误:
this.slideshow.addClass( "ui-accordion ui-widget ui-helper-reset" )
// ARIA
.attr( "role", "tablist" );
我试图解决这个问题已经很长时间了,但找不到解决办法。
问题是存储在服务器上的JQuery文件以某种方式损坏了。我重新加载了它们,现在一切都正常了。
相关文章:
- $(this).prop('property') vs. this.property
- Twitter Bootstrap typeahead:使用“this”获取上下文/调用元素
- 在另一个函数中使用变量this
- this.router在AngularJS 2中未定义
- reactjs this.refs vs document.getElementById
- JavaScript 中的嵌套函数和 “this” 关键字
- React+Meteor:this.ops返回未定义
- javascript中对象构造函数中的var属性与this.properties
- 函数中this和var之间的区别
- jQuery(this).Pparent().Pparente().Prent().find()在iPad上不起作用
- Understanding Javascript scope with "var that = this&qu
- 定义this.properties或objectName.properties的javascript JSON对象
- Object.prototype using 'this'
- 在JavaScript类型的函数中避免self-this
- 如何使用(this)访问Angular 2 http rxjs catch函数中的对象属性
- Javascript 对象和 this 关键字
- jQuery使用ajax自动完成问题-TypeError:this.source不是函数
- reactjs无法将this.pops传递到react图表列表中
- 为什么在这种情况下,“This”确实充当javascript函数中的私有成员
- JQuery手风琴类型错误:this.slideshow未定义