/ Published in: JavaScript
instead of document.getElementById('a');, you’d simply just do this instead:
$('a');.
And if you wanted a whole collection of elements, you can simply do this:
$('a','b',obj,obj2,'c','d');
$('a');.
And if you wanted a whole collection of elements, you can simply do this:
$('a','b',obj,obj2,'c','d');