function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2022版新高考物理一轮复习教师用书 下一篇:2022版新高考物理一轮复习作业课件 '; }