[ad_1]
I don’t have enough reputation to comment, but there’s some issues with your code at first glance:
- It’s
<script>not<srcipt> - Your updateCart function has no end curly bracket (
})
3
[ad_2]
solved JavaScript function not being called onclick [closed]