Element.toggle with multiple divs


#1

i have a number of div’s on my site with “id_distributor_1” to
“id_distributor_x” (x depends on the number of entries in the database).
now i´d like to toggle these divs. with using element.toggle i have to
know
the id-names, which is not the case because i don´t know how many
entries
there are.

any suggestions?


#2

Untested, but you could do something like this…

Warmest regards,
Nathan.