Declaring and using arrays in DHTMLX Touch

I know about the following declaration.
var 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.