Moak
Moak

Reputation: 12885

jQuery Script works in all browsers but Chrome

This site has a script that works in all browsers I tested but Chrome, which I think is strange because it is usually IE that acts up. What should happen is that there is a dynamic tour through the store, in Chrome only the picture is seen, it seems like none of the script triggered.

The error console says

Uncaught TypeError: Cannot call method 'toLowerCase' of undefined
Uncaught TypeError: Object #<an Object> has no method 'set'

however I don't know what to do with this information. Any ideas? I am using Chrome 4.0.249.78

again here is the link

Upvotes: 2

Views: 7640

Answers (3)

Anas
Anas

Reputation: 11

I had the same problem and I solve it by downloading the latest copy jquery-1.5.1.min.js try that!!

Upvotes: 1

LostInQuery
LostInQuery

Reputation: 519

It is because of MooTools, but for anyone who may be new to these issues, you will need to add the jQuery.noConflict(); to your javascript. http://api.jquery.com/jQuery.noConflict/

Upvotes: 3

Stephen Wrighton
Stephen Wrighton

Reputation: 37850

I'm not sure about the first line, but the second one is coming out of mootools (line 23), and is actually being reported by FireFox as well. If memory serves it's because of incompatibilities between mootools and jquery.

Upvotes: 5

Related Questions