function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2020届高考数学(文)总复习专题综合练 下一篇:2020届高考数学(理)总复习大题专题练 '; }