0
雙引號我有一個代碼逃脫在JavaScript
facetsString += "<td><input type='checkbox' value=facetList[count].term> " + facetList[count].term + " (" + facetList[count].count + ")" + "</td>";
我試着去給每個複選框,唯一值facetList[count].term
,但我不知道如何逃脫的雙引號..
我已經嘗試過這些...... bt不是wanking – Sam 2012-04-20 07:07:53
你能舉個例子說明你是如何做到的嗎? – Xharze 2012-04-20 07:09:40
facetsString + =「 」+ facetList [count] .term +「(」+ facetList [count] .count +「)」+ 「」; – Sam 2012-04-20 07:10:08