課程
/前端開發(fā)
/HTML/CSS
/基于websocket的火拼俄羅斯(單機(jī)版)
className 為啥沒定義
2019-06-15
源自:基于websocket的火拼俄羅斯(單機(jī)版) 2-4
正在回答
document.getElementById(),是不是寫成document.getElementsByClassName()了?
舉報
前端大牛帶你實現(xiàn)單機(jī)版俄羅斯方塊!
2 回答為什么這里會出現(xiàn):Cannt set property 'className' of undefined 的錯誤:
1 回答data已經(jīng)用形參表示了,還是顯示未定義
1 回答Cannot read property 'x' of undefined ,即 pos.x的值未定義,求指點
3 回答local沒有被定義
1 回答出現(xiàn)問題:Uncaught TypeError: SquareFactory.prototype.make is not a function 是為什么
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2019-07-24
document.getElementById(),是不是寫成document.getElementsByClassName()了?