On Feb 2, 5:06 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > http://brandonaaron.net/docs/livequery/ > This will do the trick. > Perfect.
Yet if I rework the sample to bind each image separate, the script takes for ages and the browser complains about stopping the script. for (var i in data) { $('#eintragsliste').append( '<tr><td><table id="'+i+'"><tbody>' + ' <tr>' + ' <td><img class="expanding" src="images/plus01.png"></ th>' + ' <td>...</td>' + ' </tr><tr class="expanded">' + ' <td> </td>' + ' <td>...</td>' + ' </tr>' + '</tbody></table></td></tr>'); $('.expanding, id=#'+i+).bind('click', collapser_expand); } Is this because of my code or livequery? any idea how to solve it? See http://www.orpatec.ch/termola/index.php?page=orgslist.php O. Wyss