มีวิธีแก้มั้ยครับ
http://www.coop.ku.ac.th/newcoop/app/grandmeeting/Register.html
ลองจับเวลาดู อย่างเร็วสุดก็ 0.5 sec
มีวิธีที่ทำให้เร็วกว่านี้มั้ยครับ
jQuery ตอน Call php
jQuery.ajax({
type: "POST",
async: true,
dataType: "json",
url: "../../php_code/connectdb.php",
beforeSend: function () { t1 = Date.now();$("#ajaxwait").dialog('open'); },
complete: function () { $("#ajaxwait").dialog('close'); $("#txtUsedTime").html(UsedTime(t1)).show(); },
data: { func: 'SearchUser', condition: txtSearch, rdType: rdType, cur_page: cur_page, page_size: page_size },
success: function (data) {
jQuery ajax call php function มี Delay มากกว่า 0.5 วินาที
http://www.coop.ku.ac.th/newcoop/app/grandmeeting/Register.html
ลองจับเวลาดู อย่างเร็วสุดก็ 0.5 sec
มีวิธีที่ทำให้เร็วกว่านี้มั้ยครับ
jQuery ตอน Call php
type: "POST",
async: true,
dataType: "json",
url: "../../php_code/connectdb.php",
beforeSend: function () { t1 = Date.now();$("#ajaxwait").dialog('open'); },
complete: function () { $("#ajaxwait").dialog('close'); $("#txtUsedTime").html(UsedTime(t1)).show(); },
data: { func: 'SearchUser', condition: txtSearch, rdType: rdType, cur_page: cur_page, page_size: page_size },
success: function (data) {