function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2018届高考英语(译林版)总复习真题研练 下一篇:2017-2018学年数学北师大版必修4练习汇总 '; }