ok just one more ;)
If i have an element by reference.... like so:
var parentSelect = event.element().parentNode.parentNode;
how do i use $$ to say all a tags in parentSelect with a class of
listelement....its somethig like this but of course this code it
actally looking for the element parentSelect and not the reference
contained within the variable:
var listelements = $$('parentSelect a.listelement');
any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---