In modern browsers [1], it is possible to use CSS-like selector to query for elements in a document -- the same way as sizzle.js (used by jQuery).
querySelector
Returns the first Element in the document that matches the query. If there is no match, returns null.
// gets the element whose id="...