2 thoughts on “jQuery Not Class Selector to Exclude

  1. takien on said:

    alternatively you can use :not selector, like this:

    $(‘a:not(.banana)’).hide();

    easier right? :D

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>