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高考政治时政热点课件汇总 '; }