我想从我的按钮中单击服务器端调用一个JavaScript函数,并将ArrayList,字符串数组或列表作为参数传递给该函数。 然后,我需要遍历这些集合的所有元素,并对数据执行一些操作。 你能告诉我的JavaScript代码来访问这些元素 考虑下面的结构,我在JavaScript的如何从javascript访问数组列表,字符串数组或列表?
Function ABC(_Arraylist/List/String Array){
//I would like to perform some action on the collections data here.
}
感谢。
参见[JSON](http://www.json.org/js.html) – Shai 2012-02-12 09:07:02