ajax: jquery get request

<script>后端

//异步请求@人功能异步

function at(){ide

$.get('some.url.com/controller/action', function(resp){post

      if(resp!=null){//alert(resp);url

  tt_tips = new TextAreaAutoTips('post_text', {spa

debug: false,debug

data:respip

});get

  }it

   });

}

window.onload =  at;

</script>


后端那边最后就是echo $data ;

相关文章
相关标签/搜索