5th Apr 2020, 8:15 PM
Cam
Cam - avatar
2 Answers
+ 2
<script> var quantityVar = 0; var textQuan = "Quantity:"; function quantity(){ quantityVar++; document.getElementById("print").innerHTML = textQuan +" "+quantityVar; } function minus(){ quantityVar--; document.getElementById("print").innerHTML = textQuan +" "+quantityVar ; } </script>
5th Apr 2020, 8:20 PM
Cmurio
Cmurio - avatar
0
Thanks!
5th Apr 2020, 8:49 PM
Cam
Cam - avatar