编程问题!!!!

aqi-city-input和aqi-value-input 是两个文本框

aqiData是数组,下面函数写的错的哪里?


function addAqiData() {

var chengshi=document.getElementById("aqi-city-input");

var zhiliang=document.getElementById("aqi-value-input");

aqiData[aqiData.lenght]="<q>"+chengshi.innerHTML+"</q>"+":"+zhiliang.innerHTML;

}


LY41
浏览 1221回答 0
0回答
打开App,查看更多内容
随时随地看视频慕课网APP