function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2018高考历史(人教版)大一轮复习(课件) 下一篇:【精准高考】2018高考英语(人教)大一轮复习(课件):第1部分 '; }