Shorthand for document.getElementById()
$_("my-element-id");
Returns an array of elements, corresponding to the given selector
$_(".my-parent .children");
Execute a function when the DOM is ready. (Thanks to Dustin Diaz)
Hide an element
Show an element
Toggle the display of an element
Add a class to an element
Test if an element has a particular class
window.domReady(function(){
var testHasClass = Element.hasClass($_('addclass-test'), 'color-red');
});
Remove a class from an element
Toggle the class of an element