请问怎样实现通过JS向服务端发一个请求,并接收到返回值
类似这样:
function fun(){
   var returnValue = XXXXXX.do?method=XX
   alert("returnValue : " + returnValue);
}