Matt Spendlove wrote:
I am bit confused with this function. Should I be able to pass in a DOM
element e.g. someAjaxRequest.responseXML and interrogate it ?
You can think of $$() as $() on steroids. Instead of simply taking an id
and returning the element it will take a CSS selector and return all
matching elements. So:
$$('#news .item')
will return all elements with "item" in the class names that are
children of the element with id "news".
Eric
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs