I have an embedded SVG file which I use for SVG icon sprites. Additionally there is a HTML checkbox. If it's clicked I want to change the reference of the embedded SVG file to a different one. I use following phrase to include the SVG file in my HTML file:
<?php include_once("processed/svg-defs.svg"); ?>
Now I'm searching for a way to change the file with jQuery when the checkbox is clicked.