[jQuery] Re: is child of...

2007-04-06 Thread Lwis
if (child === obj) { isChild = true; } }); I couldn't make jQuery substitute for it yet. Otherwise I will probably use a standard function. Thanks On Apr 6, 12:50 pm, "Lwis" <[EMAIL PROTECTED]> wrote: > Hi, > > short version: how do I f

[jQuery] is child of...

2007-04-06 Thread Lwis
Hi, short version: how do I find out whether my element is a child of another element? long version: I think I want to loop through all elements and check each of them if it is the element I am searching for or not. I think I want something similar to YUI (http://www.un-instraw.org/ wiki/traini