开发者

uncaught exception: cannot call methods on tabs prior to initialization; attempted to call method

开发者 https://www.devze.com 2023-01-20 15:13 出处:网络
I am using jquery tabs in my project and code for it is written in a js file. This js file is used in a user control and in one place i m facing following error

I am using jquery tabs in my project and code for it is written in a js file. This js file is used in a user control and in one place i m facing following error

uncaught exception: cannot call methods on tabs prior to initialization; attempted to call method 'div.profile-panes > d开发者_StackOverflow社区iv'

and on the other place the code is working fine. I am not able to understand why the same code gives error in one place and working fine on another place.


You should never be trying to call a method 'div.profile-panes > div', I think this means you've got some problems with syntax. Make sure you have the correct brackets and periods around the $('div.profile-panes > div') calls.

0

精彩评论

暂无评论...
验证码 换一张
取 消