The dollar functions is a simple way to grab an element quickly. So instead of document.getElementById('b'); you simply just do this instead:
$('b');.
To get a whole collection of elements, you can simply do this:
$('b','e',obj,obj2,'c','d');
It's an elegant way to get objects quickly.
No comments:
Post a Comment