$.get("url ,null,function(response){
                                        //3.接收服务器端返回的数据,填充到div中        
                                        $("#result").html(response);请问次列子中  response 在此怎么理解呢?

解决方案 »

  1.   

    response就是你回调函数返回的结果
      

  2.   

    你的get请求发送到服务器后,服务器返回的数据就再response里面,在把response的内容放到id为result的元素里面
      

  3.   

    response就是你前面的url中执行后输出的内容
    通过这个回调函数获取它
      

  4.   

    function就是个回调函数,response就是函数参数
      

  5.   

    是你接受ajax请求的服务端返回的内容,可事实文本,json,xml,主要就看你服务端是怎么返回的。
    function(response)  这里的参数名随便写的,没有关系。写response是不是让人有点困惑!
      

  6.   

    你服务器响应过来的内容, 比如你在服务器out.print("ok") 那么它的值就是ok