On Nov 1, 11:57 am, Matt <[EMAIL PROTECTED]> wrote:
[...]
> Kangax: that method won't work for me, it's pulling stuff out of a
> database so the id numbers don't increment in any kind of order.

Ok. How do you associate those numbers with certain elements then? You
can also iterate over an array of numbers (those from your DB):

[1,15,3,42,15].each(function(n) {
  $$('#container_' + n + ' span');
});

--
kangax
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to