getByPath

getByPath(path) returns the jQuery object for the node at the given path.

The path parameter is an array of integers, specifying the zero-based index of each level of hierrarchy.
For example, [0, 2] denotes the third child of the first node in the TreeView.

<ul id="treeview">
    <li>My Project
        <ul>
            <li id="someid">js</li>
            <li>css</li>
        </ul>
        <li>index.html<li>
        <li>upload.php<li>
    </li>
</ul>

<script type="text/javascript">
    jQuery(function ($) {
        $("#treeview").shieldTreeView();

        var node = $("#treeview").swidget().getByPath([0, 0]);
        // node will be the LI element with id="someid"
    });
</script>