[請益] JQuery 使用load 輸出要加空白?

看板Ajax作者 (FoFo)時間14年前 (2011/07/01 01:02), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
※ [本文轉錄自 PHP 看板 #1E3AiXIH ] 作者: sunz5010 (FoFo) 看板: PHP 標題: [請益] JQuery 使用load 輸出要加空白? 時間: Fri Jul 1 00:58:07 2011 我使用 $("#Test").load("test.php", function() {alert('123');}); 不行 但是只要在alert後面多一個空白就可以 $("#Test").load("test.php", function() {alert('123 ');}); ~~~ 為什麼會這樣? 我用 $("#Test").load("test.php", function() {$("#Test2").html("hello ");}); ~~~ 這裡也一定要加空白才行@@ 我用firefox ie 瀏覽器都試過了 好奇怪、誰可以幫我解答一下嘛@@ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.252.45.153 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.252.45.153

07/01 01:03, , 1F
補充:我JQuery的版本為 1.6.1
07/01 01:03, 1F
文章代碼(AID): #1E3AmIcj (Ajax)
文章代碼(AID): #1E3AmIcj (Ajax)