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高考文科数学(人教版)一轮复习课件+讲义+练习 '; }