$('a').filter(function(){ return ($
(this).parents('#xy').length==0); }).MyFunction();


On Oct 13, 9:28 am, ksuess <[EMAIL PROTECTED]> wrote:
> Hi. I want to apply a function to all links, but not these in a div
> with id #xy. There could be nested elements in #xy with links in it.
> How can I modify $('a').MyFunction() to do this?
> Thanks and regards,
> Katja

Reply via email to