title: How can I get the Umbraco node path from a node id in javascript?
body: <p>I have an Umbraco tree node id in javascript.
  How can I get the path of this node (ie. "-1,1045,1046,1175")?</p>
  
  <p>Ideally, I'd like to do something like this:</p>
  
  <pre><code>var tree = jQuery("#&lt;%=DialogTree.ClientID%&gt;").UmbracoTreeAPI();
  var nodePath = tree.getPath(theNodeId);
  </code></pre>
  
  <p>But I can't find any reference for the Umbraco Tree API.
  Does anybody know how to do this?</p>