document.getElementById('totalnum').innerHTML = '0'; document.getElementById('totalprice').innerHTML = '0';