var z=document.getElementById('itogprice').innerHTML; document.getElementById('itogprice').innerHTML=parseInt(z)+300;