views:

44

answers:

2

Hello, is there any way I can get the :not() pseudo selector to work in Internet Explorer 7/8? Is there any javascript that can do the same thing as the CSS3 :not()?

+3  A: 

Yes, as regards JavaScript, jQuery and MooTools support the :not pseudoelement selector.

http://mootools.net/docs/core/Utilities/Selectors#Selector:not
http://api.jquery.com/not-selector/

Cole
+1  A: 

Or you can use Dean Edwards IE7.js

Ionut Staicu