2011-12-16 19 views
0

我有值的數組如下如何從停止報價由HTML實體被替換

invited = ["555665", "66996"] 

當我把這個JavaScript函數就變成

["555665","66996" ]), 

這裏是我的代碼:

FB.ui({ method: 'apprequests', 
     exclude_ids: escape(<%[email protected]_users.to_s%>), 
     message: 'Here is a new Requests dialog...'}); 
} 
+0

發送數據時不起作用嗎? – 2011-12-16 09:58:50

回答

0

我要信貸去塔羅,但他沒有發佈答案,所以我張貼。如果Stackoverflow管理人員可以信任他,請執行此操作。

我用<%= raw @exclude_users %>它工作。

感謝Taro