2018年3月21日 星期三

[PHP]Jquery ajax

小心使用 Ajax 防止 Bug 產生 https://dotblogs.com.tw/jasonyah/2013/06/02/use-ajax-you-need-to-be-care
$.ajax({ url: '', // url位置 type: 'post', // post/get data: { querytag: data }, // 輸入的資料 error: function (xhr) { }, // 錯誤後執行的函數 success: function (response) { }// 成功後要執行的函數 });

沒有留言:

張貼留言