ajax: jquery get request
生活随笔
收集整理的這篇文章主要介紹了
ajax: jquery get request
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<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 ;
轉載于:https://blog.51cto.com/linkindick/1269158
總結
以上是生活随笔為你收集整理的ajax: jquery get request的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 整理大数据期末考试复习提纲概念整理
- 下一篇: microsoft edge指的是什么