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;}
添加回答
举报
0/150
提交
取消