Reputation: 3313
We use jquery for a slider and for some users in our company who access the website, they get object doesn't support this property and the slider doesn't load.
The website works fine in all major browsers (IE 8, firefox, chrome) and seems to be user specific? For example I load IE 8 and go to the website, the website loads fine,another user accesses the website and they get the error? any ideas, where would you start to test security for jquery?
Thanks
Upvotes: 0
Views: 6067
Reputation: 10305
A lot of IE errors happen with the option hash and a trailing ,
. Note the ,
after true of option2
WRONG:
$("#id").plugin({
option1: true,
option2: true,
})
GOOD:
$("#id").plugin({
option1: true,
option2: true
});
Upvotes: 1