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高考生物通用版三轮冲刺增分练 '; }