最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時綁定郵箱和手機立即綁定

for 函數(shù)中 content.removeChild(content.childNodes[0]); 為什么不是 content.removeChild(content.childNodes[i]);

function clearText() {
? var content=document.getElementById("content");
? var nole=content.childNodes.length;
? for(var i=0;i<nole;i++)
? {
????? content.removeChild(content.childNodes[0]);?? //問題

? }
? // 在此完成該函數(shù)
?}


為什么是 content.removeChild(content.childNodes[0]);而不是 content.r

emoveChild(content.childNodes[i]);

正在回答

1 回答

oooooooooo

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

for 函數(shù)中 content.removeChild(content.childNodes[0]); 為什么不是 content.removeChild(content.childNodes[i]);

我要回答 關注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號