Internet explorer 8 ie8中的YUI3选择器问题
Y.one('form fieldset:nth child(2')).toggleClass('hide') 在chrome、FF、opera中,这一行可以工作,但在ie6-8中它抛出了一个错误 “Y.one(…)”为null或不是对象 问题出在哪里?如果要在本机不支持css3选择器的浏览器中使用css3选择器,必须将“选择器-css3”模块添加到.use()语句中Internet explorer 8 ie8中的YUI3选择器问题,internet-explorer-8,yui,css-selectors,Internet Explorer 8,Yui,Css Selectors,Y.one('form fieldset:nth child(2')).toggleClass('hide') 在chrome、FF、opera中,这一行可以工作,但在ie6-8中它抛出了一个错误 “Y.one(…)”为null或不是对象 问题出在哪里?如果要在本机不支持css3选择器的浏览器中使用css3选择器,必须将“选择器-css3”模块添加到.use()语句中