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高考语文全国通用版优编增分练 '; }