The almighty double dollar sign.  Genius!  Thank you

On Dec 22, 12:35 pm, "Andrew Kaspick" <[EMAIL PROTECTED]> wrote:
> h2 seems like an odd tag choice. I'd think a ul/li combo would be
> preferred, but that doesn't matter.
>
> How about this...
>
> $$('#vertical_container h2').each(function(h2, idx)
> {h2.addClassName('name'+idx)})
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to