Brett
Brett

Reputation: 887

Uncaught TypeError: Object [object Object] has no method (using jQuery based Slider)

On the following site, the content slider is not working. I've used this content slider on many other sites. This site is using Twitter Bootstrap (which I'm not familiar with).

The Console error is:

Uncaught TypeError: Object [object Object] has no method 'slides'

I'm a JavaScript novice, so I'm not sure what to look for. I understand what the error is saying, but I don't understand why I'm getting it on this site and not others or where to start looking. What am I doing wrong?

Upvotes: 1

Views: 3366

Answers (1)

gen_Eric
gen_Eric

Reputation: 227270

You are loading jQuery 3 times. The 1st time, you are loading it, and then loading the slides plugin.

The 2nd time you are loading jQuery, it replaces the 1st one, and all plugins.

You only need to load jQuery once at the top of the page.

Upvotes: 2

Related Questions