Ajax 請求預設的都是非同步的 如果想同步async設定為false就可以(預設是true) var html = $.ajax({ url: "some.php", async: false }).responseText;
確定! 回上一頁