method

index

index(element)
public

Returns the index of the supplied child (starting at 1), or -1 if the element is not a child

element

an Element child