.isChild( parent )
.isChild() will check whether the source element is child of provided parent element.
Parameters
NameTypeDefaultPossible ValuesDescription
parentHTMLElementHTMLElementHTMLElement against which the source element is checked for child relationship
Returns
NameDescription
booleantrue if source element is child of parent element else false
Example 1
This example checks whether #child div is a child of #parent div.
JS HTML
		$.domLoaded(function() {

				var parent = $.get("#parent");
				
				//check #child isChild of #parent
				if($.get("#child").isChild(parent)) {
				
					console.log("Child");
					
				} else {
				
					console.log("Not a child");
					
				}
				
			});
			
		});						
						
<body>
	
	<div id="parent"> 
	Parent
	
		<div id="child">child</div>

	</div>

</body>