I'm quite new to svg and I have to perform a task with it, but I'm having lots of troubles.
I have an svg (a map for instance) with areas defined by paths.
My goal is to trigger onClick a function external to the svg to do some stuff (for instance, retrieving by ajax some people data related to the area selected and show them outside the svg in the html page).
What I'm not able to do is to trigger a function defined outside the svg from an element in the svg.
I can do this if i add the svg inline, but I need to use the embed tag to make it work with ie Adobe plugin. Any suggestion? Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…