TS 6.7.1, Win 2003
When i want to pass a single value (textbox) as a parameter to a callserver cgi, im using like
var params = new Object();
var server = window.location.hostname;
var itemvalue = IWDatacapture.getItem("L1").getValue();
params.L1value= itemvalue.value;
IWDatacapture.callServer("http://"+server+"/iw-bin/process.cgi",params,true);
If i want to pass an array as one of the param variable, how to do that.
I tried passing the object itself instead of value. Like below.
var params = new Object();
var server = window.location.hostname;
var item = IWDatacapture.getItem("modellist");
params.mlist= item;
IWDatacapture.callServer("http://"+server+"/iw-bin/process.cgi",params,true);
But i cant access that array at the CGI. Is there any other way to pass a array object to a CGI from a DCT?
-Thanks
yuv