function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2019高考物理二轮复习高分突破课件+训练 下一篇:2019高考数学(文)优编增分练通用版 '; }