This may have been asked, but scrolling through about 40+ search results reveals only the jQuery solution. Let\'s say I want to get the first item in an unordered list and a
Also consider sizzle, depending on your needs. Smaller than jQuery, but handles all your selector normalization.