Extending jQuery’s selector capabilities – James Padolsey
I’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?
Good examples of advanced JQuery selector tricks. Shows how to implement custom selector functions and how to select elements based on content in JQuery’s custom data repository