|
.childIndex( )
Gets the position of child with respect to it's immediate parent. Starts from 1.
Returns
Example 1
Checks position of box2 div
JS
HTML
$.domLoaded(function() {
// should return 2
$.get("#box2").childIndex();
});
| |||||
