So I am trying to add two SVG's on button clicks. I have 2 buttons 'male' and 'female' and with each button an SVG is loaded.
At first the male SVG is loaded by default and on click it has to change.
This is the HTML Code.
<div id="svgDivMale">
<?php include"shirtBasic.svg" ?>
</div>
This is how it should look after click.
<div id="svgDivFemale">
<?php include"girlShirtSVG.svg" ?>
</div>
I have read on other questions on stack overflow that this is not quiet possible through Jquery but there must be some way.
Thanks.