function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2020春语文必修4(人教版)课件+课后检测 汇总 下一篇:2020高中语文人教语言文字应用课件+课后测评 汇总 '; }