var jsGetCountDayObj = document.getElementById('daycount'); if(jsGetCountDayObj) { jsGetCountDayObj.innerText = '1'; } var jsGetCountTotalObj = document.getElementById('totalcount'); if(jsGetCountTotalObj) { jsGetCountTotalObj.innerText = '2244'; }