Say you want to use a selector to select all controls with a certain class, apart from a particular one. Use the not selector:

$('.selectedClass:not(#exceptionId)').functions();

Sweet.

By admin

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.