2015-12-24 16:46 | 题主 | ||||||||
|
怎么得到后台serverScript返回的数据 比如我后台得到一个对象obj={"operId":"886245","oper":"魏彭辉"},然后我用app.send(obj);返回结果,对吗?另外这里如果我返回的是一个数组可以吗?比如arr=['aa,''bb']; 接下来前台我定义了一个ajax,调用ajax.request(); 然后在ajax的success事件中怎么获取我返回的这个obj对象或者arr数组的数据呢? |
2015-12-25 09:57 | #1 | ||||||||
|
Wb.info(response.responseText);可以读取返回的值 |
2015-12-31 14:23 | #2 | ||||||||
|
2016-01-20 19:07 | #3 | ||||||||
|
在serverscript运行app.send('abc') |