.childIndex( )
Gets the position of child with respect to it's immediate parent. Starts from 1.
Returns
TypeDescription
NumberPosition of the element
Example 1
Checks position of box2 div
JS HTML
		$.domLoaded(function() {

			// should return 2
			$.get("#box2").childIndex(); 
			
		});						
						
<body>
	
	<div id="box1"></div>
			
	<div id="box2"></div>

</body>