function chkdiv(divid){ var chkid=document.getElementById(divid); if(chkid != null){return true; } else {return false; } } if (chkdiv('fy')){ document.getElementById('fy').innerHTML='上一篇:2019高考物理江苏专用优编题型增分练 下一篇:2019高考浙江数学优编增分练 '; }