function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:王尚:海淀区高三上学期期中考试物理压轴题 下一篇:高分攻略|这一件事明年高考100%会考! '; }