How can I change the image of a button when I click it?
I have a button and at an early stage I want it with an icon, but when I click it (active) and icon is replaced by another.
How can I do this?
<!-- image1 -->
<a><img src='https://svgshare.com/i/Gwo.svg' title='' /></a>
<p></p>
<!-- image2 -->
<a style="display:none"><img src='https://svgshare.com/i/Gw7.svg' title='' /></a>