---
title: "DWR获取二维数组"
author: "rigger21"
date: "2009-04-02T13:35:00Z"
tags: []
slug: "dwr"
draft: false
lastmod: "2009-04-02T13:35:00Z"
id: 361862
url: "https://rigger21.iteye.com/blog/361862"
---

function showHZS(Address)  
{  
//当点击某城市时，清空DIV最外层里面的内容  
//通过DWR获取后台的数据。  
Tservice.arrAgentCityC(Address,callBackCityC);  
}  
function callBackCityC(data)  
{  
var Address = "";  
//循环出所有代理商。  
for(var i in data)  
{  
????? alert(data\[i]\[1] );

}

**获取div的id值：**

var out = document.getElementById("

[阅读全文](http://hi.baidu.com/mahaibao/blog/item/484dbf8b1294e7dbfc1f102e.html)  
**类别：**[Ajax](http://hi.baidu.com/mahaibao/blog/category/Ajax)?[查看评论](http://hi.baidu.com/mahaibao/blog/item/484dbf8b1294e7dbfc1f102e.html#comment)