function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:【全新精品】高一语文版必修1精粹达标练习 下一篇:2017届高一语文必修1全方位精练(书稿卷) '; }