YUI IE8 Selector utility bug
Versions of the YUI Selector utility prior to 2.7.0 won’t work with IE 8. There’s a bug in there somewhere that breaks className selectors.
So, something like div.bd won’t return any results.
The solution is to upgrade to 2.7.0. I’m working on a site on which I can’t upgrade the whole package; it would take too much QA time. So, I tried dropping Selector 2.7.0 over the existing file (in my case, an ancient 2.5.2 version). The result: seems to work like a charm, so it’s worth a try.
EDIT: Also just saw that IE8 likes to detect our internal dev servers as intranet sites and throw itself into IE7 compatibility mode. Make sure you use developer tools on whatever site you’re testing (production, in my case), and then reset them wherever you’re developing.
March 1st, 2010 at 8:23 pm
[...] design, javascript, web, web 2.0, web developers, web-development — admin @ 6:12 pm ajm Read Post Versions of the YUI Selector utility prior to 2.7.0 won’t work with IE 8. There’s a [...]