This is the button. Imagine button with text B2C01 and next to it svg that works as close. when I click to this image the button disappears but simultaneously it triggers buttons function which does other things and it interferes with my code. how can I stop it from executing when clicking image?
<button onclick="clickcustomer(this.id)"
id="addedprivatecustomerbutton1"
class="addedprivatecustomerbutton displaynone" type="button" name="button">B2C01
<img class="removeaddedcustomerbutton" id="addedprivatecustomersvgsvg1"
src="img\removeaddedcustomerbutton.svg"
alt="" onclick="removeprivatecustomer(this.id)"> </button>