var a;
buffalo.remoteCall(......function(reply) {
...
a = -1;
})
return a;
2008/1/16 宋来 <qson...@gmail.com>:
> var a;
> a = -1;
> return a;
>
>
> >
>
--
Michael Chen
--------------------------------
Blog: http://michael.nona.name
MSN: jzch...@hotmail.com
function syncCall(service, parameter) {
var result = null;
buffalo.remoteCall(service, parameters, function(reply) {
result = reply.getResult();
})
return result;
}
以后只调用这个方法就够了
2008/1/16 bellone.wu <bello...@gmail.com>:
MSN: jzch...@hotmail.com