I'm getting mad about this.Long story short :
This is the show-cart.php where cart is shown. 
When i click Remove button , the event I call works 1 over 10 times about.Below it's the simple code.What's wrong? Why it's not working properly?
<button type="button" class="btn btn-danger">
                            <span onclick="alert('smth')"; class="glyphicon glyphicon-remove""></span> Remove
                        </button>

