I have an SVG document which contains JavaScript code. As I asked here, I was trying to call a JavaScript function which was defined inside the SVG graphic from the loading HTML. I got an answer which linked to this page which explains how it works. However, it does not work in Google Chrome. Firefox does create all this correctly.
I was wondering if there is a one and only solution which appends the XML-Structure of the SVG file correctly to the DOM of the calling HTML and makes the Script callable. Is there a possibility using jQuery to simply load the file and append it on a div or something?
Thank you for your help!