function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2020秋高一英语人教版必修2单元质量检测 下一篇:2020秋语文部编版必修上册精品训练(新教材) '; }