-4
您好,我在編碼方面頗爲新穎,我遇到了一個錯誤。 我從這個代碼出現以下錯誤:jQuery無法識別的表達式:input:checked [type = radio]
Syntax error, unrecognized expression: input:checked[type=radio][name=ASMTQUESTION:]
這是代碼:
var input = $$('#ASMTQUESTION\\:' + childId);
if (input.length > 1 || input.length == 0) {
input = $$('input:checked[type=radio][name=ASMTQUESTION:' + childId + ']');}
請讓我知道是什麼錯誤。
爲什麼你有2個$? –
和':checked'需要在末尾 –
這就是我之前包括的程序員,我已經刪除了雙打,所以我留下了單個$'s,但是這並不能解決錯誤。 –