If you're on jQuery1.3 you could also just do: $('#sub-navigation a').live('click', function(){ ... });
Which would add an onclick to all the a tags inside of sub-nav that currently exist, or would be added in the future. On Jan 21, 9:03 am, Frederic <m...@frederic-hemberger.de> wrote: > Thanks, problem solved. ;)