方法1:

fuction test
{
tt.hello(

callback:function(datas)
{
alert(datas.key1);
alert(datas.["key2"]);
}
);
}
方法2:

fuction test
{
tt.hello(

callback:function(datas)
{

for(var prop in datas)
{
alert("key="+prop+",value="+datas.[prop]);
}
}
);
}












方法2:















同时调用多个方法时,设置dwr的方法调用方式
true(默认):效果为可以同时调用方法1和2,可以先调用方法2后调用方法1,不能确认
false:先调用方法1后调用方法2,按js中调用的顺序调用
dwr.engine.setAsync(false);