Hi All,
Thanks in advance. I am trying to send the o/p of a CLT to the .net apps(triggered using a JS). How do i pass the value of the perl variable $memberGrps to a variable in JS? I tried the following,
var memberGrps = "$memberGrps"; and does not work. Any help is greatly appreciated.
Thanks!
Jenni
TS 6.5 SP2
Windows
[html]
$user = 'NEC\\zzz';
$getGrpCmd= `iwgroup listgroups -u $user`;
$memberGrps = $getGrpCmd;
### Return the value to the function in the Form API script
print <
<script language="javascript">//
if($allow_templ_use == 1){
//var memberGrps = "$memberGrps";
window.location.href="
http://localhost:81/TestCMSFlexWebSite/NewDefault.aspx";
}
[/html]