jquery, how to check if a specific ID is a child of an other id?
<p>I have a specific id ("mysubid"), now I want to check if this element (this id) is in a child path of an other id ("mymainid"). </p>

<p>Is there an easy way to do this or will I go upwards, element by element, to see if the element is in a child path.</p>

<p>By child path I am talking about something like this:</p>

<p>A > B > C > D</p>

<p>So D is in the Child Path of A,B and C</p>
