[問題] 必須要有;

看板Ajax作者 (兔子)時間12年前 (2011/09/08 00:05), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/2 (看更多)
我照網路抄FB語法 <script> window.fbAsyncInit = function() { FB.init({appId: 'Your app id', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.type = 'text/javascript'; e.src = document.location.protocol + '//connect.facebook.net/zh_TW/all.js'; e.async = true; document.getElementById('fb-root').appendChild(e); }()); </script> 只有這一段的話沒有問題 但是只要下面再加script IE就會出現 "必須要有;" 老實說我完全看不懂這一段FB的寫法 尤其是黃色部份和紅色部分 有人可以指點一二嗎? -- ◤ __ \__◢◤◢◤ ψhirabbitt ◤ ◢███◣ ◢███◣ http://ppt.cc/H~k, █████ █████ #1DttPzLe(Little-Games) http://ppt.cc/FpAe ██ ███ http://ppt.cc/M9QS ██╱╲ ◥█████◣● 怎麼增殖了=口=!? 為妳而做的遊戲╱╱ ◥████ ˇ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.42.99.108

09/08 00:26, , 1F
是 }()); 而不是 })(); 喔?
09/08 00:26, 1F

09/08 01:03, , 2F
就很奇怪啊
09/08 01:03, 2F
文章代碼(AID): #1EPvPQ_y (Ajax)
討論串 (同標題文章)
文章代碼(AID): #1EPvPQ_y (Ajax)