我寫了以下代碼在一個angularjs執行一個函數,我有遺漏)後參數列表錯誤。失蹤)參數列表後
"content": '<b>DocumentType</b>:'+s.getdocumentTypeName(s.documentType)+'<br><b>Author:</b>'+s.givenName+'</br><b>creationDate:</b>'+ s.dateTimeConverter+'<br><a href="" onclick=\"(getdocByID(' + s.docId + '))\"><b>View Document</b></a>',
某處存在語法錯誤。但除了getdocumentTypeName可能需要getDocumentTypeName,並且大寫D,我在這裏找不到缺失的左大括號。 – Shilly
與onclick函數的問題,但我不沒有問題在哪裏 – Ali