Hi Guys,
I have run into an interesting problem and am not sure if it can be resolved.
I have a JS script (say script1) running in an SVG document with lots of rectangles which has collected user-entered information like which rectangle was clicked / data corresponding to the rectangle etc.
This SVG document is embedded inside an HTML page with <object>
tags.
The problem is that script1 needs to pass the collected information to another JS script (say script2) running inside the container HTML page.
Does anybody know how to do that?
Further, to enhance my understanding, what if I had used <embed>
or <iframe>
tags; what method would have been appropriate then?