jQuery: correct syntax for ':not()'

Posted by user304299 on Stack Overflow See other posts from Stack Overflow or by user304299
Published on 2010-03-29T14:35:27Z Indexed on 2010/03/29 19:53 UTC
Read the original article Hit count: 65

Filed under:

I'm trying to filter a list of elements via ':not()', and jQuery seems to be ignoring my filter.

here is the code:

myElements.filter(':not(.someclass)');

jquery still selects all of myElements...

© Stack Overflow or respective owner

Related posts about jQuery