function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:v2020秋高一语文人教版必修一学案 下一篇:2020秋高一语文人教版必修一课件 '; }