Extending jQuery's selector capabilities - James Padolsey - 0 views
-
Frederik Van Zande on 15 Dec 08I'm sure you all know that it's possible to create plugins and extend various aspects of the jQuery JavaScript library but did you know you could also extend the capabilities of it's selector engine? Well, you can! For example, you might want to add a new ':inline' selector which will return those elements that are displayed inline. Have a look: