I have a quick question...
Before I start looping through all of the child elements of a <div> I wanted to ask if there is a better way to check if an element is a child of another element?
I thought I found a method (the contains(pchild ) method) but didn't find any documentation for this method and apparently it doesn't work the way I thought it did.
Thanks for your time
-Frinny
Before I start looping through all of the child elements of a <div> I wanted to ask if there is a better way to check if an element is a child of another element?
I thought I found a method (the contains(pchild ) method) but didn't find any documentation for this method and apparently it doesn't work the way I thought it did.
Thanks for your time
-Frinny
Comment