i want my "add to cart" button to put value on my database table named "items" on column named "status"
i tried the "on click" thing but it doesn't work
<a ref="#" class="button button-danger button-circle button-sim">
<i class="fa fa-cart-plus" on click=""></i>
</a>
And when clicked I want it to show an alert that it is now in their cart.
I know the first line of code has wrong spelling, cant post the question without changing it