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版高考语文大一轮复习江苏专版讲义 '; }