Displaying 1 result from an estimated 1 matches for "getsvgdocument".
2006 Feb 28
1
Ajax functions with embedded objects
Hi,
In my project, there is an rhtml page with an embedded SVG file. In my
javascript functions, I can find an object by id inside the SVG file
with the following:
ObjectInSVG =
top.document.embeds[0].getSVGDocument().getElementById("rect");
Now, I want to use Ajax methods, like link_to_remote, in the rhtml page
to manipulate the SVG objects. The problem is that link_to_remote method
uses the id to identify the object... but the object is embedded! Is
there any way to pass the object reference to...