作者InitialShuk (Shuk)
站內Ajax
標題[問題] js錯誤影響執行
時間Wed Oct 3 11:16:40 2012
昨天很無聊把fb的名片貼到 目前在寫的網頁中
承我上一篇的問題Scroll load後跑ajax 一切執行的都很正常
但在我拿掉fb名片時 ajax那段就不跑了
我有找到原因 是因為ajax那段上一行是call一個function
那個function在某個form未送來前會是錯誤的
但我比較好奇 為什麼在有fb名片時 他就會是正常的
以下是拿掉fb名片會有問題的那幾行
<a href="
https://www.facebook.com/InitialShuk" target="_TOP"
style="font-family: "lucida
grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant:
normal; font-style: normal; font-weight: normal; color: #3B5998;
text-decoration: none;" title="Peng-Yuan Tiu">Peng-Yuan Tiu</a>
<span style="font-family: "lucida
grande",tahoma,verdana,arial,sans-serif; font-size: 11px; line-height:
16px; font-variant: normal; font-style: normal; font-weight: normal; color:
#555555; text-decoration: none;"> | </span>
fb名片都是html 跟js的syntax 似乎扯不太上@@
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 211.79.136.202
※ 編輯: InitialShuk 來自: 211.79.136.202 (10/03 17:00)