update cart quantity javascript code example
Example: update cart quantity javascript
<script>
var i = document.getElementById("carte").innerText;
function addtocart() {
i++;
document.getElementById('carte').innerText = i;
}
</script>