function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:高考物理三轮冲刺填空、简述题专项训练 下一篇:数学《随机现象》课件(苏教版必修3) '; }