[jQuery] hide/show (trying to prevent inline loop code)
Hi all, I an trying to create a simple hide/show toggle with jQuery,
but My content loops over a query and so when I test it it opens all
my table blocks (since they have Identical code duplicated to the
length of the records).
So then I got cleaver and created a variable that generates a random
number every time the code iterates the loop.
But then I have all these copies of something that needs to be only
created once.
So would other people manage this?
Thanks,
Frank