I’m still learning how to use Sizzle selector. So far I know this:
Sizzle('#blah') – searches the entire document for element(s) with id ‘blah’.
Sizzle('.blah') – searches the entire document for element(s) with css class ‘blah’.
Then today I found this:
Sizzle('> div') – searches entire document for elements of ‘div’ tags. (I could be wrong but that’s what it is doing for me)
Which makes me ponder, what other syntax are there to search for stuff using Sizzle??
Here’s the official reference on which selectors Sizzle supports: http://wiki.github.com/jeresig/sizzle/. But, as has already been said, it’s basically the same syntax as CSS3 selectors.
And here’s the link the OP was apparently asking for: http://www.w3.org/TR/css3-selectors/