Hi,
I'm trying to get the path to a certain folder with exeJavascriptDirect. I know the Javascript is correct because the alert displays the path I want but I can't transfer it to the TB environment. I've tried the following:
{
var url = window.location.href;
var arr = url.split("/");
var path = arr[0] + "//" + arr[2] + "/" + arr[3];
//alert(path);
tbfunction_pgTBObjSet("showResult", "text", path);
}
{
var url = window.location.href;
var arr = url.split("/");
var path = arr[0] + "//" + arr[2] + "/" + arr[3];
//alert(path);
return path;
}
{
var url = window.location.href;
var arr = url.split("/");
var path = arr[0] + "//" + arr[2] + "/" + arr[3];
//alert(path);
return [path];
}
but none of them work.