function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2019-2020学年高一历史人教版必修一精练 下一篇:2020届高考语文一轮复习古诗文阅读精练 '; }