function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:备战新课标高考理科数学2020专练 下一篇:2020高考地理浙江专用版大二轮非选择题专练 '; }