function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2020秋高中化学人教版选修1课件汇总 下一篇:2020秋高中地理人教版选修6课件汇总 '; }