Search code examples
javascriptinternet-explorercss-selectorsyui

YUI :checked selector in IE?


I had a query written as:

Y.all('.myClass:checked');

It worked great in everything but IE (8). I can't seem to get ':checked' to work at all with IE. Is it possible to query for only checked checkboxes like this and be compatible with IE?


Solution

  • Sounds like they found and fixed the problem way back when: yuilibrary.com/projects/yui3/ticket/2528895 could be something else going wrong. If no one gives you a good answer you might eventually want to file a bug report.

    -TheZ (in comments of original question)

    This is a bug in yui3 versions earlier than 3.2