function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2021版江苏新高考选考化学(苏教版)一轮复习 下一篇:2021版浙江新高考选考地理一轮复习 '; }