> maybe cutting that 'id=' ? > simply: > $('.expanding, #'+i+). Unfortunately not since I've done this before. IMO the only solution would be to use the onclick clause in HTML but I haven't figured out to access jQuery from outside. E.g.
<img class="expanding" src="images/plus01.png" onclick="$ ().collapser_expand"> yet this doesn't work so far. O. Wyss