function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2021高考地理人教版一轮复习教师用书 下一篇:2021新高考化学鲁科版一轮复习课件 '; }