Trying a selector seems to work, but other things don't. The idiom $( function() { } ) to initialize the page does not work because SVG passes the SVGLoad event to the top <svg> element. $('svg').bind('SVGLoad', function(){}) really works.
Dynamically adding items using .append puts them in the DOM so that they do not appear, at least in Firefox. Phantom elements remain invisible even after re-rendering the document, including an element dynamically added without jQuery. $().attr(key, value) may change the attribute, but not refresh the screen.
All this, unfortunately, has broken. Additional features work after they are embedded in an XHTML document. But such defects as above remain, and it is probably better to use a different structure. Maybe give jQuery SVG a different look ...
source share