How to fetch the selected child position inside parent node in Jqtree

How to fetch the selected child position inside parent node in Jqtree

How to fetch  the selected  child position  inside parent node in Jqtree
ex:
A
   -->A1
    ->A2
    ->A3

A is parent node ,A2 is selected node.i want to fetch the A2 position.