I have an example like this:
<div id="President">
<div id="Congressman">
<div id="Senator">
<div id="Major"></div>
</div>
</div>
</div>
Is there an easy way in Javascript or jQuery that we can check if the div 'Major' is a child element of all other divs? Thank you.