<script>
//异步请求@人功能
function at(){
$.get('some.url.com/controller/action', function(resp){
if(resp!=null){//alert(resp);
tt_tips = new TextAreaAutoTips('post_text', {
debug: false,
data:resp
});
}
});
}
window.onload = at;
</script>
后端那边最后就是echo $data ;