Reputation: 108
Y.one('form fieldset:nth-child(2)').toggleClass('hide');
in chrome, FF, opera this line works but in ie6-8 it throws an error 'Y.one(...)' is null or not an object.
where is the problem?
Upvotes: 3
Views: 923
Reputation: 2573
Have to add the "selector-css3" module to your .use() statement if you want to use CSS3 selectors in browsers that don't support them natively.
Upvotes: 4