Declaring and using arrays in DHTMLX Touch

I know about the following declaration.
var name=[];

name[0]=‘ABC’;
name[1]=‘XYZ’;

dhx.ajax().get(“Connect.jsp”,{name:name});

Now what happens is that its gets passed as string ‘ABC,XYZ’, not as array of strings.
I also know about name.push(). But still same thing happens.

How to declare array of strings and how to pass it using dhx.ajax().get() method. ?
Please help.
Thank you.

dhx ajax doesn’t accepts array as a parameter. You may split name by comma in the servers-side script to get an array.

Ok Thank you.