<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 ;