Jquery each SVG element
Here is my problem: I use the Wordpress image map pro plugin to generate plans with clickable areas in SVG. When the page loads, the HTML code is generated. I want to loop in jquery on the SVG elements generated by the plugin in order to be able to retrieve their data-title that I must use later. But it does not find me any occurrence. On the other hand, if I tell it to loop as soon as I click on an area, it retrieves all the elements. I do not understand. I notice that the plugin’s JS file is loaded at the end. By creating a JS file that loads after the plugin’s, it does not work.