为什么我的显示addH is not defined
function addH(id){ var ul=document.getElementById(id), h=ul.offsetHeight; h=h+1; if(h<=112){ ul.style.height=h+"px"; setTimeout("addH('"+id+"')",10); } else{ return; } }
function addH(id){ var ul=document.getElementById(id), h=ul.offsetHeight; h=h+1; if(h<=112){ ul.style.height=h+"px"; setTimeout("addH('"+id+"')",10); } else{ return; } }
2016-08-16
举报