Applies to: SharePoint Foundation 2010
In this article
Gets a value that specifies the site relative URL of the list or folder that originally contained the Recycle Bin item.
var value = SP.RecycleBinItem.get_dirName();
It must not be null. It must be a URL of relative form. Its length must be equal to or less than 256.