tempPeiCaiDiv+="onclick='javascript:getRequestBody("+"\""+"'daodian[]'"+"\""+","+"\""+"'fen[]'"+"\""+","+"\""+"'fen1'"+"\""+","+"\""+"'ladu1'"+"\""+");'>預(yù)定</div>";老出錯,我傳過去的是字符串,改了半天都沒有改對,小弟初學(xué)js,望高手指點哪里錯了書寫方式哪里錯了,因為我在函數(shù)里接收不到值,我傳的是字符串,"+"\""+"'daodian[]'"+"\""+","+"\""+"'fen[]'"+"\""+","+"\""+"'fen1'"+"\""+","+"\""+"'ladu1'"+"\""+"這個哪里有錯?